blob: d97f7e0dbd1bb0c56953f19eede8109213ed59d8 [file] [log] [blame]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import logging
from telemetry.page import shared_page_state
class RepeatableSynthesizeScrollGestureSharedState(
shared_page_state.SharedPageState):
def CanRunOnBrowser(self, browser_info, _):
if not browser_info.HasRepeatableSynthesizeScrollGesture():
logging.warning('Browser does not support repeatable scroll gestures, '
'skipping test')
return False
return True