Async Webdriver
Asynchronous webdriver client built on asyncio.
Quickstart
Let's run a local Firefox instance.
from arsenic import get_session
from arsenic.browsers import Firefox
from arsenic.services import Geckodriver
async def example():
# Runs geckodriver and starts a firefox session
async with get_session(Geckodriver(), Firefox()) as session:
# go to example.com
await session.get('http://example.com')
# wait up to 5 seconds to get the h1 element from the page
h1 = await session.wait_for_element(5, 'h1')
# print the text of the h1 element
print(await h1.get_text())
For more information, check the documentation
CI Supported by Browserstack
Continuous integration for certain browsers is generously provided by Browserstack.
Release files for arsenic 21.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arsenic-21.8.tar.gz | 16.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arsenic-21.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.9 kB
Release files / arsenic-21.8.tar.gz
| Download URL | arsenic-21.8.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ac2d29ff447b648f870ce241660d0584d847f07f8fd6f00117e8aba0594e927
|
|
BLAKE2b-256 checksum How to use checksums |
23170fee2eeb845b7d8de7fcc5af56b9991f45615c6e3486c0de2d1531453c67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.9.5 Darwin/20.6.0
|
Release files / arsenic-21.8-py3-none-any.whl
| Download URL | arsenic-21.8-py3-none-any.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9be9d9eeeac519d45bf8ebe6d03c24eb6ae4dc7672b1f6c8f870f63f5997642b
|
|
BLAKE2b-256 checksum How to use checksums |
f5207dd5184267baffec8f0619addcf91e170d831031410e6a83d749ac6ce6b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.9.5 Darwin/20.6.0
|