Skip to main content

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_log polling 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()

Metadata

Release files for advselenium 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for advselenium 0.1.1
File Size Uploaded
advselenium-0.1.1.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for advselenium 0.1.1
File Interpreter ABI Platform
advselenium-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 kB

Release files / advselenium-0.1.1.tar.gz

Download URL advselenium-0.1.1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7a01fda066c3216580e4d172ec0f37195091b3b662809092da15fbdd6520ac57
BLAKE2b-256 checksum
How to use checksums
42e32d951aacd468eeb1304b5bf9d8eadbe2210225960d7f830cfa4e453f963a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / advselenium-0.1.1-py3-none-any.whl

Download URL advselenium-0.1.1-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5db33f4d74b7243fbe57e594b538327894e769e40b8c7726989326b829a04fd1
BLAKE2b-256 checksum
How to use checksums
30131d93a6bbb7c40906a86b25eaf3a2e53f756cea71e347beccc2522e3e36c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page