blob: 036b019e7150f866754f0b48c2da71d165332586 [file] [log] [blame]
# Copyright 2017 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 common
from common import TestDriver
from common import IntegrationTest
class HTML5(IntegrationTest):
# This test site has a div with id="pointsPanel" that is rendered if the
# browser is capable of using HTML5.
def testHTML5(self):
with TestDriver() as t:
'document.getElementsByClassName("pointsPanel")', 15)
checked_main_page = False
for response in t.GetHTTPResponses():
# Site has a lot on it, just check the main page.
if (response.url == ''
or response.url == ''):
checked_main_page = True
if not checked_main_page:"Did not check any page!")
if __name__ == '__main__':