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
File details
Details for the file a_selenium_get_with_timeout-0.11.tar.gz
.
File metadata
- Download URL: a_selenium_get_with_timeout-0.11.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 | 93f2ee082f1605eddad660b8785dc500438243582713dd6c3d31c64d95f821f7 |
|
MD5 | 1b09e96c08ba098c8b25c28979ccf166 |
|
BLAKE2b-256 | c2d4dd4f6c65b69962064e0ff3fa052dbfbc09c51c163e7c510dab58f95c25d1 |
File details
Details for the file a_selenium_get_with_timeout-0.11-py3-none-any.whl
.
File metadata
- Download URL: a_selenium_get_with_timeout-0.11-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 | 67372111f71e668a6c3c86d733900822052aacb6eec4f87cdf9f18ea0b4e7201 |
|
MD5 | 741207ed662a5530be615f5db181d061 |
|
BLAKE2b-256 | f321a0e1f2f1e25caf09fa29026cb87eddb586e657ce0d1c83395fe28e1718e5 |