Created
February 3, 2012 16:09
-
-
Save AutomatedTester/1730881 to your computer and use it in GitHub Desktop.
sessionid
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: py/selenium/webdriver/remote/webdriver.py | |
| =================================================================== | |
| --- py/selenium/webdriver/remote/webdriver.py (revision 15812) | |
| +++ py/selenium/webdriver/remote/webdriver.py (working copy) | |
| @@ -39,7 +39,7 @@ | |
| """ | |
| def __init__(self, command_executor='http://127.0.0.1:4444/wd/hub', | |
| - desired_capabilities=None, browser_profile=None): | |
| + desired_capabilities=None, browser_profile=None, session_id=None): | |
| """ | |
| Create a new driver that will issue commands using the wire protocol. | |
| @@ -53,7 +53,7 @@ | |
| self.command_executor = command_executor | |
| if type(self.command_executor) is str: | |
| self.command_executor = RemoteConnection(command_executor) | |
| - self.session_id = None | |
| + self.session_id = session_id | |
| self.capabilities = {} | |
| self.error_handler = ErrorHandler() | |
| self.start_client() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment