https://github.com/hansalemaos/a_selenium_click_on_coords
Selenium mouse clicks on x,y coordinates
https://github.com/hansalemaos/a_selenium_click_on_coords
click coordinates python selenium
Last synced: about 2 months ago
JSON representation
Selenium mouse clicks on x,y coordinates
- Host: GitHub
- URL: https://github.com/hansalemaos/a_selenium_click_on_coords
- Owner: hansalemaos
- License: mit
- Created: 2023-01-01T12:30:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-01T12:31:02.000Z (over 3 years ago)
- Last Synced: 2025-11-27T10:25:40.300Z (7 months ago)
- Topics: click, coordinates, python, selenium
- Language: Python
- Homepage: https://pypi.org/project/a-selenium-click-on-coords/
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Selenium mouse clicks on x,y coordinates
```python
# Tested with:
# https://github.com/ultrafunkamsterdam/undetected-chromedriver
# Python 3.9.13
# Windows 10
$pip install a-selenium-click-on-coords
from auto_download_undetected_chromedriver import download_undetected_chromedriver
import undetected_chromedriver as uc
from time import sleep
from a_selenium_click_on_coords import click_on_coordinates
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.get(r"https://github.com/hansalemaos/a_cv2_easy_resize")
sleep(2)
click_on_coordinates(driver,x=100,y=100, script_timeout=10)
```