autotest: Remove is_component from ChromeDriver.
BUG=chromium:654525
TEST=trybots
Change-Id: Ic1ca52cddfcd0fd4c80faf1f3c0002733e12ff8d
Reviewed-on: https://chromium-review.googlesource.com/412122
Commit-Ready: Achuith Bhandarkar <achuith@chromium.org>
Tested-by: Achuith Bhandarkar <achuith@chromium.org>
Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
diff --git a/client/common_lib/cros/chromedriver.py b/client/common_lib/cros/chromedriver.py
index 7971f6c..1b0f8b1 100644
--- a/client/common_lib/cros/chromedriver.py
+++ b/client/common_lib/cros/chromedriver.py
@@ -28,9 +28,9 @@
"""Wrapper class, a context manager type, for tests to use Chrome Driver."""
def __init__(self, extra_chrome_flags=[], subtract_extra_chrome_flags=[],
- extension_paths=[], is_component=True, username=None,
- password=None, server_port=None, skip_cleanup=False,
- url_base=None, extra_chromedriver_args=None, *args, **kwargs):
+ extension_paths=[], username=None, password=None,
+ server_port=None, skip_cleanup=False, url_base=None,
+ extra_chromedriver_args=None, *args, **kwargs):
"""Initialize.
@param extra_chrome_flags: Extra chrome flags to pass to chrome, if any.
@@ -38,7 +38,6 @@
chrome by chromedriver, if any.
@param extension_paths: A list of paths to unzipped extensions. Note
that paths to crx files won't work.
- @param is_component: True if the manifest.json has a key.
@param username: Log in using this username instead of the default.
@param password: Log in using this password instead of the default.
@param server_port: Port number for the chromedriver server. If None,
@@ -55,7 +54,6 @@
# Log in with telemetry
self._chrome = chrome.Chrome(extension_paths=extension_paths,
- is_component=is_component,
username=username,
password=password,
extra_browser_args=extra_chrome_flags)