(script string, args []interface{})
| 1166 | } |
| 1167 | |
| 1168 | func (wd *remoteWD) ExecuteScriptAsyncRaw(script string, args []interface{}) ([]byte, error) { |
| 1169 | if !wd.w3cCompatible { |
| 1170 | return wd.execScriptRaw(script, args, "_async") |
| 1171 | } |
| 1172 | return wd.execScriptRaw(script, args, "/async") |
| 1173 | } |
| 1174 | |
| 1175 | func (wd *remoteWD) Screenshot() ([]byte, error) { |
| 1176 | data, err := wd.stringCommand("/session/%s/screenshot") |
nothing calls this directly
no test coverage detected