MCPcopy Index your code
hub / github.com/tebeka/selenium / CurrentWindowHandle

Method CurrentWindowHandle

remote.go:598–603  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

596}
597
598func (wd *remoteWD) CurrentWindowHandle() (string, error) {
599 if !wd.w3cCompatible {
600 return wd.stringCommand("/session/%s/window_handle")
601 }
602 return wd.stringCommand("/session/%s/window")
603}
604
605func (wd *remoteWD) WindowHandles() ([]string, error) {
606 if !wd.w3cCompatible {

Callers 2

MaximizeWindowMethod · 0.95
modifyWindowMethod · 0.95

Calls 1

stringCommandMethod · 0.95

Tested by

no test coverage detected