Esempio n. 1
0
 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()
Esempio n. 2
0
 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()
Esempio n. 3
0
 def quit(self):
     RemoteWebDriver.quit(self)
     self.iedriver.StopServer(self.ptr)
     del self.iedriver
     del self.ptr