Replace chrome.LOGIN_USER with chrome.username.
BUG=chromium:308757
TEST=trybot
Change-Id: I2d0d9baa9a0548da0d49a41f1128fc28ac1bb8ee
Reviewed-on: https://chromium-review.googlesource.com/183371
Tested-by: Achuith Bhandarkar <achuith@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Achuith Bhandarkar <achuith@chromium.org>
diff --git a/client/common_lib/cros/chrome.py b/client/common_lib/cros/chrome.py
index 3f86daf..b23e6cd 100644
--- a/client/common_lib/cros/chrome.py
+++ b/client/common_lib/cros/chrome.py
@@ -8,10 +8,6 @@
from telemetry.core import extension_to_load, util
-# Name of the logged-in user specified by the telemetry login extension.
-LOGIN_USER = 'test@test.test'
-
-
class Chrome(object):
"""Wrapper for creating a telemetry browser instance with extensions."""
@@ -65,6 +61,8 @@
b_options = finder_options.browser_options
b_options.disable_component_extensions_with_background_pages = False
b_options.create_browser_with_oobe = True
+ self.username = b_options.username
+ self.password = b_options.password
for i in range(num_tries):
try: