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

Method AlertText

remote.go:1104–1106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1102}
1103
1104func (wd *remoteWD) AlertText() (string, error) {
1105 return wd.stringCommand("/session/%s/alert/text")
1106}
1107
1108func (wd *remoteWD) SetAlertText(text string) error {
1109 data, err := json.Marshal(map[string]string{"text": text})

Callers

nothing calls this directly

Calls 1

stringCommandMethod · 0.95

Tested by

no test coverage detected