Advanced Selenium toolkit: smart waits, resilient actions, stealth, POM base, and handy CLI.
Project description
advselenium
Advanced Selenium toolkit: smart waits, resilient actions, stealth/undetected options, POM base, robust logging & screenshots, and a tiny CLI.
Quickstart
pip install .
advsel --help
Highlights
- SmartWait: rich waiting utilities, conditions, and timeouts.
- Resilient actions with retries (powered by
tenacity). - Stealth: automatic headless, user-agent rotation, and webdriver-manager integration.
- POM base classes (
BasePage,BaseComponent) with ergonomics. - Shadow DOM helpers.
- Network-aware download waits (via
performance_logpolling where available). - Artifacts: screenshots-on-failure, HTML source dumps, and structured logs.
- CLI: smoke-test a URL quickly or run a simple script.
Minimal Example
from advselenium import create_driver, SmartWait, By
drv = create_driver(browser="chrome", headless=True)
try:
drv.get("https://example.org")
SmartWait(drv).visible((By.CSS_SELECTOR, "h1"))
print(drv.title)
finally:
drv.quit()
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
advselenium-0.1.1.tar.gz
(7.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file advselenium-0.1.1.tar.gz.
File metadata
- Download URL: advselenium-0.1.1.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a01fda066c3216580e4d172ec0f37195091b3b662809092da15fbdd6520ac57
|
|
| MD5 |
f941608ba43f7ff10c8fef7a260ba5da
|
|
| BLAKE2b-256 |
42e32d951aacd468eeb1304b5bf9d8eadbe2210225960d7f830cfa4e453f963a
|
File details
Details for the file advselenium-0.1.1-py3-none-any.whl.
File metadata
- Download URL: advselenium-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5db33f4d74b7243fbe57e594b538327894e769e40b8c7726989326b829a04fd1
|
|
| MD5 |
884f4f1ff8638acf0700804507f4cef5
|
|
| BLAKE2b-256 |
30131d93a6bbb7c40906a86b25eaf3a2e53f756cea71e347beccc2522e3e36c4
|