()
| 596 | } |
| 597 | |
| 598 | func (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 | |
| 605 | func (wd *remoteWD) WindowHandles() ([]string, error) { |
| 606 | if !wd.w3cCompatible { |
no test coverage detected