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

Unified Diff: tools/telemetry/telemetry/internal/actions/scroll.py

Issue 1428733002: Update telemetry tests to be agnostic to ScrollTopLeftInterop mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/telemetry/telemetry/internal/actions/scroll.py
diff --git a/tools/telemetry/telemetry/internal/actions/scroll.py b/tools/telemetry/telemetry/internal/actions/scroll.py
index 4dd43ee6e4038490868d2c2ccc345cb38c88be96..f0a6c1b9a6e8191172dc86354c0f44d3bfded3cf 100644
--- a/tools/telemetry/telemetry/internal/actions/scroll.py
+++ b/tools/telemetry/telemetry/internal/actions/scroll.py
@@ -78,7 +78,7 @@ class ScrollAction(page_action.PageAction):
def RunAction(self, tab):
if (self._selector is None and self._text is None and
self._element_function is None):
- self._element_function = 'document.body'
+ self._element_function = 'document.scrollingElement'
gesture_source_type = self._synthetic_gesture_source
if self._use_touch:
« no previous file with comments | « tools/telemetry/telemetry/internal/actions/scroll.js ('k') | tools/telemetry/telemetry/internal/actions/scroll_bounce.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698