Skip to content

Commit bae9033

Browse files
committed
fixing py3 compliance on switch_to
1 parent 4048477 commit bae9033

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/selenium/webdriver/remote/switch_to.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
from selenium.common.exceptions import NoSuchElementException
2222

2323
try:
24-
str = basestring
24+
basestring
2525
except NameError:
26-
pass
26+
basestring = str
2727

2828

2929
class SwitchTo:

0 commit comments

Comments
 (0)