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

Unified Diff: tools/perf/page_sets/system_health/background_stories.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/system_health/background_stories.py
diff --git a/tools/perf/page_sets/system_health/background_stories.py b/tools/perf/page_sets/system_health/background_stories.py
index b55eb7006ca7cddf297dd7e3f6364264aa9f4b24..59b4c132394bb92724a89d2f35dbdb8c8aea7e3e 100644
--- a/tools/perf/page_sets/system_health/background_stories.py
+++ b/tools/perf/page_sets/system_health/background_stories.py
@@ -58,7 +58,7 @@ class BackgroundNytimesMobileStory(_BackgroundStory):
action_runner.WaitForElement(selector='#additional-content button')
action_runner.ScrollPageToElement(selector='#additional-content button')
# TapElement seems flaky here so use JavaScript instead.
- action_runner.ExecuteJavaScript2(
+ action_runner.ExecuteJavaScript(
'document.querySelector("#additional-content button").click()')
# Scroll to video, start it and then wait for a few seconds.
« no previous file with comments | « tools/perf/page_sets/service_worker_micro_benchmark.py ('k') | tools/perf/page_sets/system_health/blank_stories.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698