| Index: tools/perf/page_sets/system_health/browsing_stories.py
|
| diff --git a/tools/perf/page_sets/system_health/browsing_stories.py b/tools/perf/page_sets/system_health/browsing_stories.py
|
| index f8527e0634736fc3f57a5fc87f13e51b531ebfa8..27c577deed0b635331a29d8f8820f003582293de 100644
|
| --- a/tools/perf/page_sets/system_health/browsing_stories.py
|
| +++ b/tools/perf/page_sets/system_health/browsing_stories.py
|
| @@ -30,6 +30,7 @@ class _BrowsingStory(system_health_story.SystemHealthStory):
|
| item_selector = 'document.querySelectorAll("%s")[%d]' % (
|
| self.ITEM_SELECTOR, index)
|
| # Only scrolls if element is not currently in viewport.
|
| + action_runner.WaitForElement(element_function=item_selector)
|
| action_runner.ScrollPageToElement(element_function=item_selector)
|
| self._ClickLink(action_runner, item_selector)
|
|
|
|
|