No more getting stuck with not reacting URLs
Project description
No more getting stuck with not reacting URLs
# Tested with:
# https://github.com/ultrafunkamsterdam/undetected-chromedriver
# Python 3.9.13
# Windows 10
$pip install a-selenium-get-with-timeout
from auto_download_undetected_chromedriver import download_undetected_chromedriver
import undetected_chromedriver as uc
from a_selenium_get_with_timeout import get_site_with_timeout
if __name__ == "__main__":
folderchromedriver = "f:\\seleniumdriver2"
path = download_undetected_chromedriver(folder_path_for_exe=folderchromedriver, undetected=True)
driver = uc.Chrome(driver_executable_path=path)
url=r"https://www.whitehouse.gov/"
get_site_with_timeout(driver, url, timeout=5, ready_state=True)
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
Close
Hashes for a_selenium_get_with_timeout-0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f47cb39bf430ea9210da4b71a5debac75cab91b90469486954a821acce15b4d |
|
MD5 | 998c434c6a8897f98c2a789ff37eb616 |
|
BLAKE2b-256 | a75acc9226897cf27f93c9e83c87382a42b11d2894d536b7eef0ee6cd3551488 |
Close
Hashes for a_selenium_get_with_timeout-0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a74400228ed36d8bec81bd6afd7e04e3e8c792d611dd9eef952b21ba72ff9b6c |
|
MD5 | 964ee33a9aafe310d3e2dba0275d451a |
|
BLAKE2b-256 | c302fa7b0786dfb84a0f7e6fb5fe61dea8d49f6f6f79e824a707d5d374fad721 |