Skip to content

Commit 74ae07d

Browse files
Iterate over capabilities in a way to support py2.7 and py3
1 parent 0cec372 commit 74ae07d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/remote/webdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def _make_w3c_caps(caps):
6767
"""
6868
profile = caps.get('firefox_profile')
6969
always_match = {}
70-
for k, v in caps.iteritems():
70+
for k, v in caps.items():
7171
if k in _W3C_CAPABILITY_NAMES or ':' in k:
7272
always_match[k] = v
7373
if profile:

0 commit comments

Comments
 (0)