Skip to content

Commit

Permalink
[py] Move code so that it is reachable
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Mar 10, 2021
1 parent c02a2d0 commit 5385bbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/selenium/webdriver/remote/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ def __init__(self, command_executor='http://127.0.0.1:4444',
self.caps = {}
self.pinned_scripts = {}
self.error_handler = ErrorHandler()
self.start_client()
self.start_session(capabilities, browser_profile)
self._switch_to = SwitchTo(self)
self._mobile = Mobile(self)
self.file_detector = file_detector or LocalFileDetector()
self.start_client()
self.start_session(capabilities, browser_profile)

def __repr__(self):
return '<{0.__module__}.{0.__name__} (session="{1}")>'.format(
Expand Down

0 comments on commit 5385bbd

Please sign in to comment.