Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion py/docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The `selenium` package is used to automate web browser interaction from Python.
+-----------------+--------------------------------------------------------------------------------------+
| **GitHub**: | https://github.com/SeleniumHQ/Selenium |
+-----------------+--------------------------------------------------------------------------------------+
| **PyPI**: | https://pypi.org/project/selenium |
| **PyPI**: | https://pypi.org/project/selenium |
+-----------------+--------------------------------------------------------------------------------------+
| **API Docs**: | https://selenium.dev/selenium/docs/api/py/api.html |
+-----------------+--------------------------------------------------------------------------------------+
Expand Down
10 changes: 5 additions & 5 deletions py/selenium/webdriver/common/actions/action_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_device_with(self, name: str) -> Optional[Union["WheelInput", "PointerInp
"""Get the device with the given name.

Parameters:
----------
-----------
name : str
The name of the device to get.

Expand Down Expand Up @@ -86,7 +86,7 @@ def add_key_input(self, name: str) -> KeyInput:
"""Add a new key input device to the action builder.

Parameters:
----------
-----------
name : str
The name of the key input device.

Expand All @@ -107,7 +107,7 @@ def add_pointer_input(self, kind: str, name: str) -> PointerInput:
"""Add a new pointer input device to the action builder.

Parameters:
----------
-----------
kind : str
The kind of pointer input device.
- "mouse"
Expand All @@ -134,7 +134,7 @@ def add_wheel_input(self, name: str) -> WheelInput:
"""Add a new wheel input device to the action builder.

Parameters:
----------
-----------
name : str
The name of the wheel input device.

Expand Down Expand Up @@ -186,7 +186,7 @@ def _add_input(self, new_input: Union[KeyInput, PointerInput, WheelInput]) -> No
"""Add a new input device to the action builder.

Parameters:
----------
-----------
new_input : Union[KeyInput, PointerInput, WheelInput]
The new input device to add.
"""
Expand Down
2 changes: 1 addition & 1 deletion py/selenium/webdriver/common/by.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class By:
>>> element = driver.find_element(By.TAG_NAME, 'div')

CLASS_NAME:
----------
-----------
Select the element by its class name.

>>> element = driver.find_element(By.CLASS_NAME, 'myElement')
Expand Down
Loading