func (p *CopyToParams) Do(ctx context.Context) (nodeID cdp.NodeID, err error) {
	// execute
	var res CopyToReturns
	err = cdp.Execute(ctx, CommandCopyTo, p, &res)
	if err != nil {
		return 0, err
	}

	return res.NodeID, nil
}
func (p *CopyToParams) Do(ctx context.Context) (nodeID cdp.NodeID, err error) {
	
	var res CopyToReturns
	err = cdp.Execute(ctx, CommandCopyTo, p, &res)
	if err != nil {
		return 0, err
	}

	return res.NodeID, nil
}
func ( p * CopyToParams ) Do ( ctx context . Context ) ( nodeID cdp . NodeID , err error ) { // execute var res CopyToReturns err = cdp . Execute ( ctx , CommandCopyTo , p , & res ) if err != nil { return 0 , err } return res . NodeID , nil }
// Do executes DOM.copyTo against the provided context.
//
// returns:
//   nodeID - Id of the node clone.
Do executes DOM . copyTo against the provided context . returns : nodeID - Id of the node clone .