Async Webdriver
Asynchronous webdriver client built on asyncio.
Quickstart
Let's run a local Firefox instance.
from wapiti_arsenic import get_session
from wapiti_arsenic.browsers import Firefox
from wapiti_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.
Metadata
Release files for wapiti-arsenic 28.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wapiti_arsenic-28.5.tar.gz | 15.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wapiti_arsenic-28.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.0 kB
Release files / wapiti_arsenic-28.5.tar.gz
| Download URL | wapiti_arsenic-28.5.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2720a11dac13887cf7879152efd17e65b01cc36ceb43adb3a3e26f143428fad
|
|
BLAKE2b-256 checksum How to use checksums |
c53f306f7031d617ee106f125f3901eb480c44158a157e12c5990a62c823bbc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.18
|
Release files / wapiti_arsenic-28.5-py3-none-any.whl
| Download URL | wapiti_arsenic-28.5-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46050d673a08e55fde2b1cd1756248d335f6d0818e3e10a578c8c4be84ea6f21
|
|
BLAKE2b-256 checksum How to use checksums |
2ef463539d19f42ce455a7a0188d5b7ef6c2f08a21b767671ef72276afbe8a79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.18
|