Open lukeis opened 8 years ago
The problem here is in the individual driver implementations. Let's lay down some ground
rules for discussion. First, that calls to a driver instance after calling IWebDriver.Quit()
should throw an exception. Second, that drivers should conform to the JSON Wire Protocol[1].
Given that, Firefox behaves incorrectly altogether, as it should throw an exception,
because IWebDriver.Close() when there is only one window open should have the same
semantics as IWebDriver.Quit(). Chrome should be returning a simple string for its
error message in the body of the 404 HTTP response, but doesn't, returning a JSON object
instead. I'll consider working around the issue in the .NET bindings for Chrome, but
someone will have to dig into the Firefox driver to make it work with the correct semantics.
[1] http://code.google.com/p/selenium/wiki/JsonWireProtocol
Reported by james.h.evans.jr
on 2012-04-24 16:06:30
Accepted
Reported by barancev
on 2012-05-04 08:25:48
Reported by barancev
on 2012-11-14 13:21:54
See tests in SessionHandlingTest test class for the current status.
Reported by barancev
on 2012-11-14 13:22:35
Reported by luke.semerau
on 2015-09-17 17:44:49
Originally reported on Google Code with ID 3753
Reported by
nathandace
on 2012-04-19 15:44:41