# Copyright 2014 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.
-# pylint: disable=W0401,W0614
-from telemetry.page.actions.all_page_actions import *
+
+import logging
+
from telemetry.page import page as page_module
from telemetry.page import page_set as page_set_module
super(MapsPage, self).__init__(
url='http://localhost:10020/tracker.html',
page_set=page_set,
- name='Maps.maps_001')
+ name='Maps.maps_002')
self.archive_data_file = 'data/maps.json'
+ def CanRunOnBrowser(self, browser_info):
+ if not browser_info.HasWebGLSupport():
+ logging.warning('Browser does not support webgl, skipping test')
+ return False
+ return True
+
def RunNavigateSteps(self, action_runner):
action_runner.NavigateToPage(self)
action_runner.Wait(3)