We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
send_keys
1 parent f02c68a commit 6836d0aCopy full SHA for 6836d0a
py/selenium/webdriver/remote/webelement.py
@@ -282,6 +282,8 @@ def send_keys(self, *value: str) -> None:
282
>>> # Generally it's better to wrap the file path in one of the methods
283
>>> # in os.path to return the actual path to support cross OS testing.
284
>>> # file_input.send_keys(os.path.abspath("path/to/profilepic.gif"))
285
+ >>> # When using Cygwin, the path need to be provided in Windows format.
286
+ >>> # file_input.send_keys(f"C:/cygwin{os.path.abspath('path/to/profilepic.gif').replace('/', '\\')}")
287
"""
288
# transfer file to another machine only if remote driver is used
289
# the same behaviour as for java binding
0 commit comments