An async Python WebDriver client for controlling browsers (e.g., Firefox, Chrome) via the W3C WebDriver protocol. Current version is 21.8, released with support for Python 3.7-3.11. Release cadence is sporadic; maintained primarily by HDE.
pip install arsenicNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic example: launch a local Firefox session, navigate to example.com, and print the current URL.
Upgrade to Python 3.7+ or pin to arsenic==20.x
Use services.Geckodriver(log_file='/path/to/log') instead of positional arg.
Always use await with session methods: await session.get(url), await session.get_page_source()