Skip to main content

Asynchronous WebDriver client

Project description

Async Webdriver

CircleCI Documentation Status BrowserStack Status Appveyor status PyPI version Code style: black License

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.

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.5.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wapiti_arsenic-28.5-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file wapiti_arsenic-28.5.tar.gz.

File metadata

  • Download URL: wapiti_arsenic-28.5.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for wapiti_arsenic-28.5.tar.gz
Algorithm Hash digest
SHA256 b2720a11dac13887cf7879152efd17e65b01cc36ceb43adb3a3e26f143428fad
MD5 1f3e7940d09c727af08968b4bb4348a5
BLAKE2b-256 c53f306f7031d617ee106f125f3901eb480c44158a157e12c5990a62c823bbc9

See more details on using hashes here.

File details

Details for the file wapiti_arsenic-28.5-py3-none-any.whl.

File metadata

  • Download URL: wapiti_arsenic-28.5-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for wapiti_arsenic-28.5-py3-none-any.whl
Algorithm Hash digest
SHA256 46050d673a08e55fde2b1cd1756248d335f6d0818e3e10a578c8c4be84ea6f21
MD5 7fab43d135930d2bdc3e3129ee16628f
BLAKE2b-256 2ef463539d19f42ce455a7a0188d5b7ef6c2f08a21b767671ef72276afbe8a79

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page