Selenium mouse clicks on x,y coordinates
Project description
Selenium mouse clicks on x,y coordinates
# 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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file a_selenium_click_on_coords-0.10.tar.gz
.
File metadata
- Download URL: a_selenium_click_on_coords-0.10.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98e031f285fa6398ea0f65ac866078fc255b8d1350fa6abceda848aecd674495 |
|
MD5 | 8a59161a7f65b9bcde9f6a38649359b7 |
|
BLAKE2b-256 | 1cef5904021ad4e5269d13f93ddac16cb3471e39a991709ffe7831236751a713 |
File details
Details for the file a_selenium_click_on_coords-0.10-py3-none-any.whl
.
File metadata
- Download URL: a_selenium_click_on_coords-0.10-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64161c74603d8e1e305c61bc442d8bfdf5931d9a38f685393fc12d3af68dcd63 |
|
MD5 | c6da0ae90944d40e20b7e69270ddd139 |
|
BLAKE2b-256 | fc5837d6e558952610e5658c104c3b2e505ca3723f74d2fcb33dee18f84bcac2 |