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

Method Quit

remote.go:587–596  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

585}
586
587func (wd *remoteWD) Quit() error {
588 if wd.id == "" {
589 return nil
590 }
591 _, err := wd.execute("DELETE", wd.requestURL("/session/%s", wd.id), nil)
592 if err == nil {
593 wd.id = ""
594 }
595 return err
596}
597
598func (wd *remoteWD) CurrentWindowHandle() (string, error) {
599 if !wd.w3cCompatible {

Callers 3

testFirefoxPreferencesFunction · 0.95
testNewSessionFunction · 0.95
runTestProxyFunction · 0.95

Calls 2

executeMethod · 0.95
requestURLMethod · 0.95

Tested by 3

testFirefoxPreferencesFunction · 0.76
testNewSessionFunction · 0.76
runTestProxyFunction · 0.76