Skip to content

Commit 52c6671

Browse files
authored
Change Parameters to Attributes
1 parent e6c823d commit 52c6671

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

py/selenium/webdriver/common/actions/action_builder.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __init__(
5151
def get_device_with(self, name: str) -> Optional[Union["WheelInput", "PointerInput", "KeyInput"]]:
5252
"""Get the device with the given name.
5353
54-
Parameters:
54+
Attributes:
5555
----------
5656
name : str
5757
The name of the device to get.
@@ -85,7 +85,7 @@ def wheel_action(self) -> WheelActions:
8585
def add_key_input(self, name: str) -> KeyInput:
8686
"""Add a new key input device to the action builder.
8787
88-
Parameters:
88+
Attributes:
8989
----------
9090
name : str
9191
The name of the key input device.
@@ -106,7 +106,7 @@ def add_key_input(self, name: str) -> KeyInput:
106106
def add_pointer_input(self, kind: str, name: str) -> PointerInput:
107107
"""Add a new pointer input device to the action builder.
108108
109-
Parameters:
109+
Attributes:
110110
----------
111111
kind : str
112112
The kind of pointer input device.
@@ -132,7 +132,7 @@ def add_pointer_input(self, kind: str, name: str) -> PointerInput:
132132
def add_wheel_input(self, name: str) -> WheelInput:
133133
"""Add a new wheel input device to the action builder.
134134
135-
Parameters:
135+
Attributes:
136136
----------
137137
name : str
138138
The name of the wheel input device.
@@ -184,7 +184,7 @@ def clear_actions(self) -> None:
184184
def _add_input(self, new_input: Union[KeyInput, PointerInput, WheelInput]) -> None:
185185
"""Add a new input device to the action builder.
186186
187-
Parameters:
187+
Attributes:
188188
----------
189189
new_input : Union[KeyInput, PointerInput, WheelInput]
190190
The new input device to add.

0 commit comments

Comments
 (0)