všetky možnosti
forky  ] [  sid  ]
[ Zdroj: wapiti-arsenic  ]

Balík: python3-wapiti-arsenic (28.5-1)

Odkazy pre python3-wapiti-arsenic

Screenshot

Zdroje Debian:

Stiahnuť zdrojový balík wapiti-arsenic:

Správcovia:

Externé zdroje:

Podobné balíky:

Asynchronous webdriver client built on asyncio.

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())

Ostatné balíky súvisiace s balíkom python3-wapiti-arsenic

  • závisí
  • odporúča
  • navrhuje
  • vylepšuje

Stiahnuť python3-wapiti-arsenic

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 15.4 kB79.0 kB [zoznam súborov]