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

Unified Diff: tools/perf/page_sets/login_helpers/login_utils.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
« no previous file with comments | « tools/perf/page_sets/login_helpers/google_login.py ('k') | tools/perf/page_sets/maps.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/login_helpers/login_utils.py
diff --git a/tools/perf/page_sets/login_helpers/login_utils.py b/tools/perf/page_sets/login_helpers/login_utils.py
index 6e313f7c0fa2fecdbafe9bdce75ba00d2f34e61b..710c415a659dbf53c91ff6149a8887b4d7cfb4fe 100644
--- a/tools/perf/page_sets/login_helpers/login_utils.py
+++ b/tools/perf/page_sets/login_helpers/login_utils.py
@@ -45,7 +45,7 @@ def InputWithSelector(action_runner, input_text, input_selector):
possible exceptions.
"""
action_runner.WaitForElement(selector=input_selector)
- action_runner.ExecuteJavaScript2(
+ action_runner.ExecuteJavaScript(
'document.querySelector({{ selector }}).value = {{ value }};',
selector=input_selector, value=input_text)
« no previous file with comments | « tools/perf/page_sets/login_helpers/google_login.py ('k') | tools/perf/page_sets/maps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698