| Index: chrome/test/webdriver/chromedriver_tests.py
|
| ===================================================================
|
| --- chrome/test/webdriver/chromedriver_tests.py (revision 76851)
|
| +++ chrome/test/webdriver/chromedriver_tests.py (working copy)
|
| @@ -108,6 +108,7 @@
|
| except urllib2.HTTPError, expected:
|
| self.assertEquals(404, expected.code)
|
|
|
| +class BasicServerTest(unittest.TestCase):
|
| def testCanStartChromeDriverOnSpecificPort(self):
|
| launcher = ChromeDriverLauncher(port=9520)
|
| self.assertEquals(9520, launcher.GetPort())
|
| @@ -115,7 +116,14 @@
|
| driver.quit()
|
| launcher.Kill()
|
|
|
| + def testCanStartChromeWithNativeEventsEnabled(self):
|
| + launcher = ChromeDriverLauncher(use_native_events=True)
|
| + self.assertTrue(launcher.GetUseNativeEvents())
|
| + driver = WebDriver(launcher.GetURL(), 'chrome', 'any')
|
| + driver.quit()
|
| + launcher.Kill()
|
|
|
| +
|
| class CookieTest(unittest.TestCase):
|
| """Cookie test for the json webdriver protocol"""
|
|
|
|
|