From 4003b7581c6e7e25b8a90ad27e86a783b5a3b6fd Mon Sep 17 00:00:00 2001 From: Laura Date: Mon, 3 Aug 2015 14:52:11 +0100 Subject: [PATCH] Kill binary so profile clean up is no longer blocked by file locks Signed-off-by: AutomatedTester --- py/selenium/webdriver/firefox/webdriver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/py/selenium/webdriver/firefox/webdriver.py b/py/selenium/webdriver/firefox/webdriver.py index 762b0ad444e71..5c8e8a5b45156 100644 --- a/py/selenium/webdriver/firefox/webdriver.py +++ b/py/selenium/webdriver/firefox/webdriver.py @@ -92,6 +92,7 @@ def quit(self): if "marionette" in self.capabilities and self.capabilities['marionette'] is True: self.service.stop() else: + self.binary.kill() try: shutil.rmtree(self.profile.path) if self.profile.tempfolder is not None: