Skip to content

Commit 7c2b517

Browse files
author
AutomatedTester
committed
Use specificationLevel to know that we are speaking GeckoDriver
1 parent c5c6d58 commit 7c2b517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/firefox/webdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def quit(self):
8989
# Happens if Firefox shutsdown before we've read the response from
9090
# the socket.
9191
pass
92-
if "marionette" in self.capabilities and self.capabilities['marionette'] is True:
92+
if "specificationLevel" in self.capabilities:
9393
self.service.stop()
9494
else:
9595
self.binary.kill()

0 commit comments

Comments
 (0)