func (p *CompileScriptParams) Do(ctx context.Context) (scriptID ScriptID, exceptionDetails *ExceptionDetails, err error) {
	// execute
	var res CompileScriptReturns
	err = cdp.Execute(ctx, CommandCompileScript, p, &res)
	if err != nil {
		return "", nil, err
	}

	return res.ScriptID, res.ExceptionDetails, nil
}
func (p *CompileScriptParams) Do(ctx context.Context) (scriptID ScriptID, exceptionDetails *ExceptionDetails, err error) {
	
	var res CompileScriptReturns
	err = cdp.Execute(ctx, CommandCompileScript, p, &res)
	if err != nil {
		return "", nil, err
	}

	return res.ScriptID, res.ExceptionDetails, nil
}
func ( p * CompileScriptParams ) Do ( ctx context . Context ) ( scriptID ScriptID , exceptionDetails * ExceptionDetails , err error ) { // execute var res CompileScriptReturns err = cdp . Execute ( ctx , CommandCompileScript , p , & res ) if err != nil { return " " , nil , err } return res . ScriptID , res . ExceptionDetails , nil }
// Do executes Runtime.compileScript against the provided context.
//
// returns:
//   scriptID - Id of the script.
//   exceptionDetails - Exception details.
Do executes Runtime . compileScript against the provided context . returns : scriptID - Id of the script . exceptionDetails - Exception details .