Skip to content

Commit 97dc103

Browse files
committed
Replaced other reference links to Selenium Python API
1 parent 50a953a commit 97dc103

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

src/SeleniumLibrary/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ class SeleniumLibrary(DynamicCore):
523523
= EventFiringWebDriver =
524524
525525
The SeleniumLibrary offers support for
526-
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver_support/selenium.webdriver.support.event_firing_webdriver.html#module-selenium.webdriver.support.event_firing_webdriver|EventFiringWebDriver].
526+
[https://www.selenium.dev/selenium/docs/api/py/selenium_webdriver_support/selenium.webdriver.support.event_firing_webdriver.html#module-selenium.webdriver.support.event_firing_webdriver|EventFiringWebDriver].
527527
See the Selenium and SeleniumLibrary
528528
[https://github.com/robotframework/SeleniumLibrary/blob/master/docs/extending/extending.rst#EventFiringWebDriver|EventFiringWebDriver support]
529529
documentation for further details.
@@ -620,7 +620,7 @@ def __init__(
620620
Allows extending the SeleniumLibrary with external Python classes.
621621
- ``event_firing_webdriver``:
622622
Class for wrapping Selenium with
623-
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver_support/selenium.webdriver.support.event_firing_webdriver.html#module-selenium.webdriver.support.event_firing_webdriver|EventFiringWebDriver]
623+
[https://www.selenium.dev/selenium/docs/api/py/selenium_webdriver_support/selenium.webdriver.support.event_firing_webdriver.html#module-selenium.webdriver.support.event_firing_webdriver|EventFiringWebDriver]
624624
- ``page_load_timeout``:
625625
Default value to wait for page load to complete until a timeout exception is raised.
626626
- ``action_chain_delay``:

src/SeleniumLibrary/keywords/browsermanagement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def create_webdriver(
289289
The initialized WebDriver can be configured either with a Python
290290
dictionary ``kwargs`` or by using keyword arguments ``**init_kwargs``.
291291
These arguments are passed directly to WebDriver without any
292-
processing. See [https://seleniumhq.github.io/selenium/docs/api/py/api.html|
292+
processing. See [https://www.selenium.dev/selenium/docs/api/py/api.html|
293293
Selenium API documentation] for details about the supported arguments.
294294
295295
Examples:

src/SeleniumLibrary/keywords/element.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -664,12 +664,12 @@ def click_element(
664664
syntax.
665665
666666
The ``modifier`` argument can be used to pass
667-
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver/selenium.webdriver.common.keys.html#selenium.webdriver.common.keys.Keys|Selenium Keys]
667+
[https://www.selenium.dev/selenium/docs/api/py/selenium_webdriver_common/selenium.webdriver.common.keys.html#module-selenium.webdriver.common.keys|Selenium Keys]
668668
when clicking the element. The `+` can be used as a separator
669669
for different Selenium Keys. The `CTRL` is internally translated to
670670
the `CONTROL` key. The ``modifier`` is space and case insensitive, example
671671
"alt" and " aLt " are supported formats to
672-
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver/selenium.webdriver.common.keys.html#selenium.webdriver.common.keys.Keys.ALT|ALT key]
672+
[https://www.selenium.dev/selenium/docs/api/py/selenium_webdriver_common/selenium.webdriver.common.keys.html#selenium.webdriver.common.keys.Keys.ALT|ALT key]
673673
. If ``modifier`` does not match to Selenium Keys, keyword fails.
674674
675675
If ``action_chain`` argument is true, see `Boolean arguments` for more
@@ -943,7 +943,7 @@ def press_keys(self, locator: Locator | None = None, *keys: str):
943943
944944
``keys`` arguments can contain one or many strings, but it can not
945945
be empty. ``keys`` can also be a combination of
946-
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver/selenium.webdriver.common.keys.html|Selenium Keys]
946+
[https://www.selenium.dev/selenium/docs/api/py/selenium_webdriver_common/selenium.webdriver.common.keys.html|Selenium Keys]
947947
and strings or a single Selenium Key. If Selenium Key is combined
948948
with strings, Selenium key and strings must be separated by the
949949
`+` character, like in `CONTROL+c`. Selenium Keys
@@ -961,9 +961,9 @@ def press_keys(self, locator: Locator | None = None, *keys: str):
961961
`+` character, example `E+N+D`.
962962
963963
`CTRL` is alias for
964-
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver/selenium.webdriver.common.keys.html#selenium.webdriver.common.keys.Keys.CONTROL|Selenium CONTROL]
964+
[https://www.selenium.dev/selenium/docs/api/py/selenium_webdriver_common/selenium.webdriver.common.keys.html#selenium.webdriver.common.keys.Keys.CONTROL|Selenium CONTROL]
965965
and ESC is alias for
966-
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver/selenium.webdriver.common.keys.html#selenium.webdriver.common.keys.Keys.ESCAPE|Selenium ESCAPE]
966+
[https://www.selenium.dev/selenium/docs/api/py/selenium_webdriver_common/selenium.webdriver.common.keys.html#selenium.webdriver.common.keys.Keys.ESCAPE|Selenium ESCAPE]
967967
968968
New in SeleniumLibrary 3.3
969969

src/SeleniumLibrary/keywords/formelement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def choose_file(self, locator: Locator, file_path: str):
220220
The keyword does not check ``file_path`` is the file or folder
221221
available on the machine where tests are executed. If the ``file_path``
222222
points at a file and when using Selenium Grid, Selenium will
223-
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver_remote/selenium.webdriver.remote.command.html?highlight=upload#selenium.webdriver.remote.command.Command.UPLOAD_FILE|magically],
223+
[https://www.selenium.dev/selenium/docs/api/py/selenium_webdriver_remote/selenium.webdriver.remote.command.html#selenium.webdriver.remote.command.Command.UPLOAD_FILE|magically],
224224
transfer the file from the machine where the tests are executed
225225
to the Selenium Grid node where the browser is running.
226226
Then Selenium will send the file path, from the nodes file

src/SeleniumLibrary/keywords/javascript.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def execute_javascript(self, *code: Any) -> Any:
5252
Return values are converted to the appropriate Python types.
5353
5454
Starting from SeleniumLibrary 3.2 it is possible to provide JavaScript
55-
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver_remote/selenium.webdriver.remote.webdriver.html#selenium.webdriver.remote.webdriver.WebDriver.execute_script|
55+
[https://www.selenium.dev/selenium/docs/api/py/selenium_webdriver_remote/selenium.webdriver.remote.webdriver.html#selenium.webdriver.remote.webdriver.WebDriver.execute_script|
5656
arguments] as part of ``code`` argument. The JavaScript code and
5757
arguments must be separated with `JAVASCRIPT` and `ARGUMENTS` markers
5858
and must be used exactly with this format. If the Javascript code is
@@ -85,7 +85,7 @@ def execute_async_javascript(self, *code: Any) -> Any:
8585
fail. See the `Timeout` section for more information.
8686
8787
Starting from SeleniumLibrary 3.2 it is possible to provide JavaScript
88-
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver_remote/selenium.webdriver.remote.webdriver.html#selenium.webdriver.remote.webdriver.WebDriver.execute_async_script|
88+
[https://www.selenium.dev/selenium/docs/api/py/selenium_webdriver_remote/selenium.webdriver.remote.webdriver.html#selenium.webdriver.remote.webdriver.WebDriver.execute_async_script|
8989
arguments] as part of ``code`` argument. See `Execute Javascript` for
9090
more details.
9191

0 commit comments

Comments
 (0)