blob: cddba22b8685abcbfab555a64e616ce0bbbff96c [file] [log] [blame]
# Copyright (c) 2012 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.
from chrome_remote_control import tab_test_case
class TabTest(tab_test_case.TabTestCase):
def testNavigateAndWaitToForCompleteState(self):
self._tab.page.Navigate('http://www.google.com')
self._tab.WaitForDocumentReadyStateToBeComplete()
def testNavigateAndWaitToForInteractiveState(self):
self._tab.page.Navigate('http://www.google.com')
self._tab.WaitForDocumentReadyStateToBeInteractiveOrBetter()
def testTabBrowserIsRightBrowser(self):
self.assertEqual(self._tab.browser, self._browser)