(text string)
| 1106 | } |
| 1107 | |
| 1108 | func (wd *remoteWD) SetAlertText(text string) error { |
| 1109 | data, err := json.Marshal(map[string]string{"text": text}) |
| 1110 | if err != nil { |
| 1111 | return err |
| 1112 | } |
| 1113 | |
| 1114 | return wd.voidCommand("/session/%s/alert/text", data) |
| 1115 | } |
| 1116 | |
| 1117 | func (wd *remoteWD) execScriptRaw(script string, args []interface{}, suffix string) ([]byte, error) { |
| 1118 | if args == nil { |
nothing calls this directly
no test coverage detected