https://github.com/hansalemaos/a_selenium_add_special_keys
Adds some useful keys from the chrome.debugger library to Selenium
https://github.com/hansalemaos/a_selenium_add_special_keys
keys python selenium
Last synced: 4 months ago
JSON representation
Adds some useful keys from the chrome.debugger library to Selenium
- Host: GitHub
- URL: https://github.com/hansalemaos/a_selenium_add_special_keys
- Owner: hansalemaos
- License: mit
- Created: 2023-01-01T09:05:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-01T09:05:15.000Z (over 3 years ago)
- Last Synced: 2025-09-23T03:49:10.309Z (9 months ago)
- Topics: keys, python, selenium
- Language: Python
- Homepage: https://pypi.org/project/a-selenium-add-special-keys/
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Adds some useful keys from the chrome.debugger library to Selenium
```python
# Tested with:
# https://github.com/ultrafunkamsterdam/undetected-chromedriver
# Python 3.9.13
# Windows 10
$pip install a-selenium-add-special-keys
from auto_download_undetected_chromedriver import download_undetected_chromedriver
import undetected_chromedriver as uc
from a_selenium_add_special_keys import add_special_keys
if __name__ == "__main__":
folderchromedriver = "f:\\seleniumdriver2"
path = download_undetected_chromedriver(folder_path_for_exe=folderchromedriver, undetected=True)
driver = uc.Chrome(driver_executable_path=path)
driver = add_special_keys(driver)
```