Index: chrome/test/chromedriver/client/chromedriver.py |
diff --git a/chrome/test/chromedriver/client/chromedriver.py b/chrome/test/chromedriver/client/chromedriver.py |
index ae2ecd8848a79bb3df3fb6c91a192b2b0cb02087..3d7380b76c34743e6c65a2906bf4d876043e181c 100644 |
--- a/chrome/test/chromedriver/client/chromedriver.py |
+++ b/chrome/test/chromedriver/client/chromedriver.py |
@@ -62,7 +62,7 @@ class ChromeDriver(object): |
def __init__(self, server_url, chrome_binary=None, android_package=None, |
chrome_switches=None, chrome_extensions=None, |
- chrome_log_path=None, chrome_existing_browser=None): |
+ chrome_log_path=None, debugger_address=None): |
self._executor = command_executor.CommandExecutor(server_url) |
options = {} |
@@ -83,9 +83,9 @@ class ChromeDriver(object): |
assert type(chrome_log_path) is str |
options['logPath'] = chrome_log_path |
- if chrome_existing_browser: |
- assert type(chrome_existing_browser) is str |
- options['useExistingBrowser'] = chrome_existing_browser |
+ if debugger_address: |
+ assert type(debugger_address) is str |
+ options['debuggerAddress'] = debugger_address |
params = { |
'desiredCapabilities': { |