Skip to content

Commit

Permalink
Fix indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
juangj committed Jun 26, 2017
1 parent a2c8639 commit fb6c35e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/selenium/webdriver/remote/switch_to.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ def window(self, window_name):
driver.switch_to.window('main')
"""
if self._driver.w3c:
self._w3c_window(window_name)
return
self._w3c_window(window_name)
return
data = {'name': window_name}
self._driver.execute(Command.SWITCH_TO_WINDOW, data)

Expand Down

0 comments on commit fb6c35e

Please sign in to comment.