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