Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Unified Diff: tools/telemetry/telemetry/core/backends/chrome/cros_test_case.py

Issue 214963004: Support for figuring out the number of contexts in a page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: max_context_id Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/backends/chrome/inspector_backend.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/backends/chrome/cros_test_case.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome/cros_test_case.py b/tools/telemetry/telemetry/core/backends/chrome/cros_test_case.py
index 5fd71d65be0e1748e25a57a950b9d9abaa37cecb..f597827fd32bc7e4440d8e6742b815585a14fbde 100644
--- a/tools/telemetry/telemetry/core/backends/chrome/cros_test_case.py
+++ b/tools/telemetry/telemetry/core/backends/chrome/cros_test_case.py
@@ -39,13 +39,14 @@ class CrOSTestCase(unittest.TestCase):
browser_to_create = browser_finder.FindBrowser(options)
self.assertTrue(browser_to_create)
- options.browser_options.create_browser_with_oobe = True
- options.browser_options.auto_login = auto_login
- options.browser_options.gaia_login = gaia_login
+ browser_options = browser_to_create.finder_options.browser_options
+ browser_options.create_browser_with_oobe = True
+ browser_options.auto_login = auto_login
+ browser_options.gaia_login = gaia_login
if username is not None:
- options.browser_options.username = username
+ browser_options.username = username
if password is not None:
- options.browser_options.password = password
+ browser_options.password = password
return browser_to_create.Create()
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/backends/chrome/inspector_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698