Skip to content

Commit 1b06b13

Browse files
Add type to parameter of webelement.WebElement.send_keys (#13492)
* Add type to parameter of webelement.WebElement.send_keys * Use 'str' as the value type for send_keys
1 parent 907b219 commit 1b06b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/remote/webelement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def is_enabled(self) -> bool:
191191
"""Returns whether the element is enabled."""
192192
return self._execute(Command.IS_ELEMENT_ENABLED)["value"]
193193

194-
def send_keys(self, *value) -> None:
194+
def send_keys(self, *value: str) -> None:
195195
"""Simulates typing into the element.
196196
197197
:Args:

0 commit comments

Comments
 (0)