diff --git a/tools/wptrunner/wptrunner/browsers/android_weblayer.py b/tools/wptrunner/wptrunner/browsers/android_weblayer.py index f75587d839fffcf..6110450b7282c6c 100644 --- a/tools/wptrunner/wptrunner/browsers/android_weblayer.py +++ b/tools/wptrunner/wptrunner/browsers/android_weblayer.py @@ -47,7 +47,6 @@ def executor_kwargs(test_type, server_config, cache_manager, run_info_data, cache_manager, run_info_data, **kwargs) del executor_kwargs["capabilities"]["goog:chromeOptions"]["prefs"] - del executor_kwargs["capabilities"]["goog:chromeOptions"]["useAutomationExtension"] capabilities = executor_kwargs["capabilities"] # Note that for WebLayer, we launch a test shell and have the test shell use # WebLayer. diff --git a/tools/wptrunner/wptrunner/browsers/android_webview.py b/tools/wptrunner/wptrunner/browsers/android_webview.py index 8790567707e957a..d0773873508fe7f 100644 --- a/tools/wptrunner/wptrunner/browsers/android_webview.py +++ b/tools/wptrunner/wptrunner/browsers/android_webview.py @@ -47,7 +47,6 @@ def executor_kwargs(test_type, server_config, cache_manager, run_info_data, cache_manager, run_info_data, **kwargs) del executor_kwargs["capabilities"]["goog:chromeOptions"]["prefs"] - del executor_kwargs["capabilities"]["goog:chromeOptions"]["useAutomationExtension"] capabilities = executor_kwargs["capabilities"] # Note that for WebView, we launch a test shell and have the test shell use WebView. # https://chromium.googlesource.com/chromium/src/+/HEAD/android_webview/docs/webview-shell.md diff --git a/tools/wptrunner/wptrunner/browsers/chrome_android.py b/tools/wptrunner/wptrunner/browsers/chrome_android.py index cd8c40fab1feb06..485b96f31e7deaf 100644 --- a/tools/wptrunner/wptrunner/browsers/chrome_android.py +++ b/tools/wptrunner/wptrunner/browsers/chrome_android.py @@ -49,7 +49,6 @@ def executor_kwargs(test_type, server_config, cache_manager, run_info_data, **kwargs) # Remove unsupported options on mobile. del executor_kwargs["capabilities"]["goog:chromeOptions"]["prefs"] - del executor_kwargs["capabilities"]["goog:chromeOptions"]["useAutomationExtension"] assert kwargs["package_name"], "missing --package-name" executor_kwargs["capabilities"]["goog:chromeOptions"]["androidPackage"] = \