Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: chrome/test/webdriver/test/chromedriver_tests.py

Issue 11818029: [chromedriver] Remove support for simulating OS-level key events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/webdriver/commands/session_with_id.cc ('k') | chrome/test/webdriver/webdriver_automation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/test/chromedriver_tests.py
diff --git a/chrome/test/webdriver/test/chromedriver_tests.py b/chrome/test/webdriver/test/chromedriver_tests.py
index 638adefcc4f5dcad38b5a13483add1f6df9113da..f0fdfa47342d091b1e8ce81d3b875c46feeafe73 100644
--- a/chrome/test/webdriver/test/chromedriver_tests.py
+++ b/chrome/test/webdriver/test/chromedriver_tests.py
@@ -188,39 +188,6 @@ class WebserverTest(ChromeDriverTest):
server.Kill()
-class NativeInputTest(ChromeDriverTest):
- """Native input ChromeDriver tests."""
-
- _CAPABILITIES = {'chrome.nativeEvents': True }
-
- def testCanStartWithNativeEvents(self):
- driver = self.GetNewDriver(NativeInputTest._CAPABILITIES)
- self.assertTrue(driver.capabilities['chrome.nativeEvents'])
-
- # Flaky on windows. See crbug.com/80295.
- def DISABLED_testSendKeysNative(self):
- driver = self.GetNewDriver(NativeInputTest._CAPABILITIES)
- driver.get(self.GetTestDataUrl() + '/test_page.html')
- # Find the text input.
- q = driver.find_element_by_name('key_input_test')
- # Send some keys.
- q.send_keys('tokyo')
- self.assertEqual(q.text, 'tokyo')
-
-
- # Needs to run on a machine with an IME installed.
- def DISABLED_testSendKeysNativeProcessedByIME(self):
- driver = self.GetNewDriver(NativeInputTest._CAPABILITIES)
- driver.get(self.GetTestDataUrl() + '/test_page.html')
- q = driver.find_element_by_name('key_input_test')
- # Send key combination to turn IME on.
- q.send_keys(Keys.F7)
- q.send_keys('toukyou')
- # Now turning it off.
- q.send_keys(Keys.F7)
- self.assertEqual(q.get_attribute('value'), "\xe6\x9d\xb1\xe4\xba\xac")
-
-
class DesiredCapabilitiesTest(ChromeDriverTest):
"""Tests for webdriver desired capabilities."""
« no previous file with comments | « chrome/test/webdriver/commands/session_with_id.cc ('k') | chrome/test/webdriver/webdriver_automation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698