(script string, args []interface{})
| 1145 | } |
| 1146 | |
| 1147 | func (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 | |
| 1154 | func (wd *remoteWD) ExecuteScriptAsync(script string, args []interface{}) (interface{}, error) { |
| 1155 | if !wd.w3cCompatible { |
nothing calls this directly
no test coverage detected