Asynchronous WebDriver client
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wapiti_arsenic-28.3.tar.gz
(15.7 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 wapiti_arsenic-28.3.tar.gz.
File metadata
- Download URL: wapiti_arsenic-28.3.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed4b511cbdfcac61f70d4cfc30758daa8eb9f8d87a241a14568bdbc1c4d511d4
|
|
| MD5 |
c6f1cf4ae6634817c29fb22b3710907f
|
|
| BLAKE2b-256 |
562035981eafdb335ae70884ae85063b285caab8a57faa7fee22ee4ec4146661
|
File details
Details for the file wapiti_arsenic-28.3-py3-none-any.whl.
File metadata
- Download URL: wapiti_arsenic-28.3-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb97dd0c81b00d34ed4c6444b1653424aee5e248d13bab049fc5facd37941f67
|
|
| MD5 |
d42d75b01a2ec3d2547fe220411be3c3
|
|
| BLAKE2b-256 |
957f6b2aeeec2897e9f583338ac0c01344c320bcf8ed81155c513cdb80f9f061
|