Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Unreviewed. Update Selenium WebDriver imported tests.
Tools: New version of selenium uses command line options to pass driver and browser binaries to pytest instead of environment variables. * Scripts/webkitpy/webdriver_tests/pytest_runner.py: (collect): Reorder the arguments to make pytest happy. (run): Ditto. * Scripts/webkitpy/webdriver_tests/webdriver_selenium_executor.py: (WebDriverSeleniumExecutor.__init__): Add driver binary, browser binary and browser args as arguments. WebDriverTests: * imported/selenium/importer.json: * imported/selenium/py/conftest.py: * imported/selenium/py/selenium/__init__.py: * imported/selenium/py/selenium/webdriver/__init__.py: * imported/selenium/py/selenium/webdriver/common/action_chains.py: * imported/selenium/py/selenium/webdriver/common/service.py: * imported/selenium/py/selenium/webdriver/remote/remote_connection.py: * imported/selenium/py/selenium/webdriver/remote/switch_to.py: * imported/selenium/py/selenium/webdriver/remote/webdriver.py: * imported/selenium/py/selenium/webdriver/remote/webelement.py: * imported/selenium/py/selenium/webdriver/support/expected_conditions.py: * imported/selenium/py/selenium/webdriver/webkitgtk/options.py: * imported/selenium/py/test/selenium/webdriver/common/alerts_tests.py: * imported/selenium/py/test/selenium/webdriver/common/api_example_tests.py: * imported/selenium/py/test/selenium/webdriver/common/appcache_tests.py: * imported/selenium/py/test/selenium/webdriver/common/driver_element_finding_tests.py: * imported/selenium/py/test/selenium/webdriver/common/executing_async_javascript_tests.py: * imported/selenium/py/test/selenium/webdriver/common/frame_switching_tests.py: * imported/selenium/py/test/selenium/webdriver/common/interactions_tests.py: * imported/selenium/py/test/selenium/webdriver/common/page_load_timeout_tests.py: * imported/selenium/py/test/selenium/webdriver/common/position_and_size_tests.py: * imported/selenium/py/test/selenium/webdriver/common/rendered_webelement_tests.py: * imported/selenium/py/test/selenium/webdriver/common/select_class_tests.py: * imported/selenium/py/test/selenium/webdriver/common/visibility_tests.py: * imported/selenium/py/test/selenium/webdriver/common/w3c_interaction_tests.py: * imported/selenium/py/test/selenium/webdriver/common/webdriverwait_tests.py: * imported/selenium/py/test/selenium/webdriver/common/window_tests.py: Canonical link: https://commits.webkit.org/197388@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226773 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
406 additions
and 259 deletions.
- +13 −0 Tools/ChangeLog
- +15 −13 Tools/Scripts/webkitpy/webdriver_tests/pytest_runner.py
- +7 −9 Tools/Scripts/webkitpy/webdriver_tests/webdriver_selenium_executor.py
- +32 −0 WebDriverTests/ChangeLog
- +1 −1 WebDriverTests/imported/selenium/importer.json
- +36 −23 WebDriverTests/imported/selenium/py/conftest.py
- +1 −1 WebDriverTests/imported/selenium/py/selenium/__init__.py
- +1 −1 WebDriverTests/imported/selenium/py/selenium/webdriver/__init__.py
- +2 −2 WebDriverTests/imported/selenium/py/selenium/webdriver/common/action_chains.py
- +3 −1 WebDriverTests/imported/selenium/py/selenium/webdriver/common/service.py
- +8 −2 WebDriverTests/imported/selenium/py/selenium/webdriver/remote/remote_connection.py
- +3 −1 WebDriverTests/imported/selenium/py/selenium/webdriver/remote/switch_to.py
- +121 −24 WebDriverTests/imported/selenium/py/selenium/webdriver/remote/webdriver.py
- +146 −19 WebDriverTests/imported/selenium/py/selenium/webdriver/remote/webelement.py
- +0 −1 WebDriverTests/imported/selenium/py/selenium/webdriver/support/expected_conditions.py
- +15 −15 WebDriverTests/imported/selenium/py/selenium/webdriver/webkitgtk/options.py
- +1 −68 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/alerts_tests.py
- +0 −2 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/api_example_tests.py
- +0 −1 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/appcache_tests.py
- +0 −16 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/driver_element_finding_tests.py
- +0 −2 ...iverTests/imported/selenium/py/test/selenium/webdriver/common/executing_async_javascript_tests.py
- +0 −15 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/frame_switching_tests.py
- +0 −3 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/interactions_tests.py
- +0 −4 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/page_load_timeout_tests.py
- +0 −2 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/position_and_size_tests.py
- +0 −3 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/rendered_webelement_tests.py
- +0 −4 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/select_class_tests.py
- +1 −5 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/visibility_tests.py
- +0 −10 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/w3c_interaction_tests.py
- +0 −3 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/webdriverwait_tests.py
- +0 −8 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/window_tests.py
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,6 +1,6 @@ | ||
{ | ||
"repository": "https://github.com/SeleniumHQ/selenium.git", | ||
"revision": "c5e4a585f1e3c4b3468ec93ab50d3668d47aef1b", | ||
"paths_to_import": [ | ||
"common", | ||
"py/conftest.py", | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -16,4 +16,4 @@ | ||
# under the License. | ||
|
||
|
||
__version__ = "3.8.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -24,4 +24,4 @@ | ||
from .common.touch_actions import TouchActions # noqa | ||
from .common.proxy import Proxy # noqa | ||
|
||
__version__ = '3.8.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -51,7 +51,9 @@ def alert(self): | ||
:Usage: | ||
alert = driver.switch_to.alert | ||
""" | ||
alert = Alert(self._driver) | ||
alert.text | ||
return alert | ||
|
||
def default_content(self): | ||
""" | ||
Oops, something went wrong.