Skip to content

Commit

Permalink
Use specificationLevel to know that we are speaking GeckoDriver
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Oct 6, 2015
1 parent c5c6d58 commit 7c2b517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/firefox/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def quit(self):
# Happens if Firefox shutsdown before we've read the response from
# the socket.
pass
if "marionette" in self.capabilities and self.capabilities['marionette'] is True:
if "specificationLevel" in self.capabilities:
self.service.stop()
else:
self.binary.kill()
Expand Down

0 comments on commit 7c2b517

Please sign in to comment.