Skip to content

Commit

Permalink
w3c needs to be set for all instances of webdriver
Browse files Browse the repository at this point in the history
Fixes #2472
  • Loading branch information
lukeis committed Jul 15, 2016
1 parent cefa1bf commit b9a621f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions py/selenium/webdriver/remote/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,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
if response.get('status') is None:
self.w3c = True
self.w3c = response.get('status') is None:

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

0 comments on commit b9a621f

Please sign in to comment.