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) |