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