| 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/')
|
| -
|
| 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):
|
|
|