コード例 #1
0
ファイル: webdriver.py プロジェクト: hugs/selenium
 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()
コード例 #2
0
ファイル: webdriver.py プロジェクト: virajs/selenium-1
 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()
コード例 #3
0
ファイル: webdriver.py プロジェクト: virajs/selenium-1
 def quit(self):
     RemoteWebDriver.quit(self)
     self.iedriver.StopServer(self.ptr)
     del self.iedriver
     del self.ptr