Index: chrome/test/chromedriver/test/run_java_tests.py |
diff --git a/chrome/test/chromedriver/test/run_java_tests.py b/chrome/test/chromedriver/test/run_java_tests.py |
index 7ed852404a8bb9449257e4116fcc529eabc50e41..13a6536c790fe63152ec3a4fd48441d284ee3864 100755 |
--- a/chrome/test/chromedriver/test/run_java_tests.py |
+++ b/chrome/test/chromedriver/test/run_java_tests.py |
@@ -101,6 +101,10 @@ def _Run(java_tests_src_dir, test_filter, |
sys_props += ['webdriver.chrome.logfile=' + log_path] |
if android_package: |
sys_props += ['webdriver.chrome.android_package=' + android_package] |
+ if 'webview' in android_package: |
+ sys_props += ['webdriver.chrome.android_activity=.Main'] |
+ sys_props += ['webdriver.chrome.android_process=%s:main' % |
+ android_package] |
if test_filter: |
# Test jar actually takes a regex. Convert from glob. |
test_filter = test_filter.replace('*', '.*') |