| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 from chrome_remote_control import tab_test_case | |
| 5 | |
| 6 class InspectorPageTest(tab_test_case.TabTestCase): | |
| 7 def testPageNavigateToNormalUrl(self): | |
| 8 self._tab.page.Navigate('http://www.google.com') | |
| 9 self._tab.WaitForDocumentReadyStateToBeComplete() | |
| 10 | |
| 11 def testPageNavigateToUrlChanger(self): | |
| 12 # The Url that we actually load is http://www.youtube.com/. | |
| 13 self._tab.page.Navigate('http://youtube.com/') | |
| 14 | |
| 15 self._tab.WaitForDocumentReadyStateToBeComplete() | |
| 16 | |
| 17 def testPageNavigateToImpossibleURL(self): | |
| 18 self._tab.page.Navigate('http://23f09f0f9fsdflajsfaldfkj2f3f.com') | |
| 19 self._tab.WaitForDocumentReadyStateToBeComplete() | |
| OLD | NEW |