[ trixie ]
[ sid ]
[ Paquet source : arsenic ]
Paquet : python3-arsenic (21.8-2)
Liens pour python3-arsenic
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source arsenic :
Responsable :
Ressources externes :
- Page d'accueil [github.com]
Paquets similaires :
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
Autres paquets associés à python3-arsenic
|
|
|
|
-
- dep: python3
- langage orienté objet interactif de haut niveau – version par défaut de Python 3
-
- dep: python3-aiohttp
- http client/server for asyncio
-
- dep: python3-attr
- Attributes without boilerplate (Python 3)
-
- dep: python3-structlog
- structured logging for Python (3.x)
Télécharger python3-arsenic
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 15,3 ko | 78,0 ko | [liste des fichiers] |