Skip to content

Commit b9a621f

Browse files
committed
w3c needs to be set for all instances of webdriver
Fixes #2472
1 parent cefa1bf commit b9a621f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

py/selenium/webdriver/remote/webdriver.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ def start_session(self, desired_capabilities, browser_profile=None):
179179
self.capabilities = response['value']
180180

181181
# Quick check to see if we have a W3C Compliant browser
182-
if response.get('status') is None:
183-
self.w3c = True
182+
self.w3c = response.get('status') is None:
184183

185184
def _wrap_value(self, value):
186185
if isinstance(value, dict):

0 commit comments

Comments
 (0)