func (p *CallFunctionOnParams) Do(ctx context.Context) (result *RemoteObject, exceptionDetails *ExceptionDetails, err error) {
	// execute
	var res CallFunctionOnReturns
	err = cdp.Execute(ctx, CommandCallFunctionOn, p, &res)
	if err != nil {
		return nil, nil, err
	}

	return res.Result, res.ExceptionDetails, nil
}
func (p *CallFunctionOnParams) Do(ctx context.Context) (result *RemoteObject, exceptionDetails *ExceptionDetails, err error) {
	
	var res CallFunctionOnReturns
	err = cdp.Execute(ctx, CommandCallFunctionOn, p, &res)
	if err != nil {
		return nil, nil, err
	}

	return res.Result, res.ExceptionDetails, nil
}
func ( p * CallFunctionOnParams ) Do ( ctx context . Context ) ( result * RemoteObject , exceptionDetails * ExceptionDetails , err error ) { // execute var res CallFunctionOnReturns err = cdp . Execute ( ctx , CommandCallFunctionOn , p , & res ) if err != nil { return nil , nil , err } return res . Result , res . ExceptionDetails , nil }
// Do executes Runtime.callFunctionOn against the provided context.
//
// returns:
//   result - Call result.
//   exceptionDetails - Exception details.
Do executes Runtime . callFunctionOn against the provided context . returns : result - Call result . exceptionDetails - Exception details .