| Index: chrome/test/chromedriver/test/run_py_tests.py
|
| diff --git a/chrome/test/chromedriver/test/run_py_tests.py b/chrome/test/chromedriver/test/run_py_tests.py
|
| index 7f6016ec2ed08eaf2a65879b2050dafbfdb07d29..f2db05781a84ceabe84598023bca11d427a12e50 100755
|
| --- a/chrome/test/chromedriver/test/run_py_tests.py
|
| +++ b/chrome/test/chromedriver/test/run_py_tests.py
|
| @@ -126,6 +126,8 @@ _ANDROID_NEGATIVE_FILTER['org.chromium.chrome.testshell'] = (
|
| 'ChromeDriverTest.testShouldHandleNewWindowLoadingProperly',
|
| ]
|
| )
|
| +_ANDROID_NEGATIVE_FILTER['org.chromium.chromedriver_webview_shell'] = (
|
| + _ANDROID_NEGATIVE_FILTER['org.chromium.chrome.testshell'])
|
|
|
|
|
| class ChromeDriverBaseTest(unittest.TestCase):
|
| @@ -145,9 +147,18 @@ class ChromeDriverBaseTest(unittest.TestCase):
|
| def CreateDriver(self, server_url=None, **kwargs):
|
| if server_url is None:
|
| server_url = _CHROMEDRIVER_SERVER_URL
|
| +
|
| + android_package=_ANDROID_PACKAGE
|
| + android_activity = None
|
| + android_process = None
|
| + if android_package and 'webview' in android_package:
|
| + android_activity = '.Main'
|
| + android_process = '%s:main' % android_package
|
| driver = chromedriver.ChromeDriver(server_url,
|
| chrome_binary=_CHROME_BINARY,
|
| - android_package=_ANDROID_PACKAGE,
|
| + android_package=android_package,
|
| + android_activity=android_activity,
|
| + android_process=android_process,
|
| **kwargs)
|
| self._drivers += [driver]
|
| return driver
|
|
|