MCPcopy Create free account
hub / github.com/tebeka/selenium / ExecuteScript

Method ExecuteScript

remote.go:1147–1152  ·  view source on GitHub ↗
(script string, args []interface{})

Source from the content-addressed store, hash-verified

1145}
1146
1147func (wd *remoteWD) ExecuteScript(script string, args []interface{}) (interface{}, error) {
1148 if !wd.w3cCompatible {
1149 return wd.execScript(script, args, "")
1150 }
1151 return wd.execScript(script, args, "/sync")
1152}
1153
1154func (wd *remoteWD) ExecuteScriptAsync(script string, args []interface{}) (interface{}, error) {
1155 if !wd.w3cCompatible {

Callers

nothing calls this directly

Calls 1

execScriptMethod · 0.95

Tested by

no test coverage detected