arsenic 21.8-2 source package in Ubuntu
Changelog
arsenic (21.8-2) unstable; urgency=medium * Fixup package description to mention also other drivers. -- Gianfranco Costamagna <email address hidden> Wed, 08 Mar 2023 08:08:10 +0100
Upload details
- Uploaded by:
- Gianfranco Costamagna
- Uploaded to:
- Sid
- Original maintainer:
- Gianfranco Costamagna
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc | |
Mantic | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
arsenic_21.8-2.dsc | 1.8 KiB | 671dec7bf5a434afd0581472077f208b3feb58fee1aaa4be49545a29895ea8fa |
arsenic_21.8.orig.tar.gz | 15.9 KiB | 1ac2d29ff447b648f870ce241660d0584d847f07f8fd6f00117e8aba0594e927 |
arsenic_21.8-2.debian.tar.xz | 1.8 KiB | 4f909a0a3665757932fc0860568df203b0012ea39e6cacaa82c4ad7edddedf94 |
No changes file available.
Binary packages built by this source
- python3-arsenic: Asynchronous WebDriver client
Asynchronous webdriver client built on asyncio.
.
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())
.
Alternatively also other drivers can be run, e.g.
Chromedriver or MSEdgeDriver