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

Unified Diff: tools/perf/page_sets/login_helpers/dropbox_login.py

Issue 2719853003: [Telemetry refactor] Drop "2" from method calls to JS API (Closed)
Patch Set: Created 3 years, 10 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
Index: tools/perf/page_sets/login_helpers/dropbox_login.py
diff --git a/tools/perf/page_sets/login_helpers/dropbox_login.py b/tools/perf/page_sets/login_helpers/dropbox_login.py
index a2aef275d46dd2aa43b3b4f79b0e0aa805153d03..c4f81c4fc48fe98fef1a7f796b2caa29f65ecaec 100644
--- a/tools/perf/page_sets/login_helpers/dropbox_login.py
+++ b/tools/perf/page_sets/login_helpers/dropbox_login.py
@@ -32,7 +32,7 @@ def LoginAccount(action_runner, credential,
# Wait until the "Sign in" button is enabled and then click it.
login_button_selector = '.login-form .login-button'
- action_runner.WaitForJavaScriptCondition2('''
+ action_runner.WaitForJavaScriptCondition('''
(function() {
var loginButton = document.querySelector({{ selector }});
if (!loginButton)
« no previous file with comments | « tools/perf/page_sets/login_helpers/chrome_login.py ('k') | tools/perf/page_sets/login_helpers/google_login.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698