Index: chrome/test/chromedriver/client/chromedriver.py |
diff --git a/chrome/test/chromedriver/client/chromedriver.py b/chrome/test/chromedriver/client/chromedriver.py |
index 0d7ad5027c73226260b28bb812f5207999289b74..9ccbe1547b70ac7ac7dd9b0a342626ed9789ab9f 100644 |
--- a/chrome/test/chromedriver/client/chromedriver.py |
+++ b/chrome/test/chromedriver/client/chromedriver.py |
@@ -61,6 +61,7 @@ class ChromeDriver(object): |
"""Starts and controls a single Chrome instance on this machine.""" |
def __init__(self, server_url, chrome_binary=None, android_package=None, |
+ android_activity=None, android_process=None, |
chrome_switches=None, chrome_extensions=None, |
chrome_log_path=None, debugger_address=None, |
browser_log_level=None): |
@@ -69,6 +70,10 @@ class ChromeDriver(object): |
options = {} |
if android_package: |
options['androidPackage'] = android_package |
+ if android_activity: |
+ options['androidActivity'] = android_activity |
+ if android_process: |
+ options['androidProcess'] = android_process |
elif chrome_binary: |
options['binary'] = chrome_binary |