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

Unified Diff: components/test/data/password_manager/automated_tests/websitetest.py

Issue 1022703004: [Password manager Python tests] Remove some dead code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@369521_remove_disabled_tests
Patch Set: Created 5 years, 9 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
Index: components/test/data/password_manager/automated_tests/websitetest.py
diff --git a/components/test/data/password_manager/automated_tests/websitetest.py b/components/test/data/password_manager/automated_tests/websitetest.py
index f7ae7eaad6609e74fbb36ad21f2f91e1b50c1016..cc5bc8f50636c3023ef9a79bcd880da40c18ac8f 100644
--- a/components/test/data/password_manager/automated_tests/websitetest.py
+++ b/components/test/data/password_manager/automated_tests/websitetest.py
@@ -5,11 +5,8 @@
"""WebsiteTest testing class."""
import logging
-import sys
import time
-sys.path.insert(0, '../../../../third_party/webdriver/pylib/')
engedy 2015/03/26 16:18:56 Could you please allude in the CL description to w
vabr (Chromium) 2015/03/26 18:01:50 Done.
-
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.common.keys import Keys
@@ -135,16 +132,6 @@ class WebsiteTest:
hover = ActionChains(self.driver).move_to_element(element)
hover.perform()
- def SendEnterTo(self, selector):
- """Sends an enter key to an element.
-
- Args:
- selector: The element CSS selector.
- """
- logging.info("action: SendEnterTo %s" % selector)
- body = self.driver.find_element_by_tag_name("body")
- body.send_keys(Keys.ENTER)
-
# Waiting/Displaying actions.
def IsDisplayed(self, selector):

Powered by Google App Engine
This is Rietveld 408576698