def quit(self): """Quits the driver and close every associated window.""" try: RemoteWebDriver.quit(self) except httplib.BadStatusLine: # Happens if Firefox shutsdown before we've read the response from # the socket. pass self.browser.kill()
def quit(self): RemoteWebDriver.quit(self) self.iedriver.StopServer(self.ptr) del self.iedriver del self.ptr