Skip to content

Commit

Permalink
Update check to see if we are speaking to a W3C remote end point
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Aug 28, 2015
1 parent bea9516 commit a6b77f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/remote/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def start_session(self, desired_capabilities, browser_profile=None):
self.capabilities = response['value']

# Quick check to see if we have a W3C Compliant browser
self.w3c = "takesElementScreenshot" in self.capabilities
self.w3c = "specificationLevel" in self.capabilities

def _wrap_value(self, value):
if isinstance(value, dict):
Expand Down

0 comments on commit a6b77f0

Please sign in to comment.