func (p *LoadSnapshotParams) Do(ctx context.Context) (snapshotID SnapshotID, err error) {
	// execute
	var res LoadSnapshotReturns
	err = cdp.Execute(ctx, CommandLoadSnapshot, p, &res)
	if err != nil {
		return "", err
	}

	return res.SnapshotID, nil
}
func (p *LoadSnapshotParams) Do(ctx context.Context) (snapshotID SnapshotID, err error) {
	
	var res LoadSnapshotReturns
	err = cdp.Execute(ctx, CommandLoadSnapshot, p, &res)
	if err != nil {
		return "", err
	}

	return res.SnapshotID, nil
}
func ( p * LoadSnapshotParams ) Do ( ctx context . Context ) ( snapshotID SnapshotID , err error ) { // execute var res LoadSnapshotReturns err = cdp . Execute ( ctx , CommandLoadSnapshot , p , & res ) if err != nil { return " " , err } return res . SnapshotID , nil }
// Do executes LayerTree.loadSnapshot against the provided context.
//
// returns:
//   snapshotID - The id of the snapshot.
Do executes LayerTree . loadSnapshot against the provided context . returns : snapshotID - The id of the snapshot .