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.2.tar.gz (15.6 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.2-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wapiti_arsenic-28.2.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for wapiti_arsenic-28.2.tar.gz
Algorithm Hash digest
SHA256 4318ccd01b221e6fcb3d4b862cb3c6e8e51caf8617044a5f2464f02a9d734d64
MD5 6c2f6edda1f8b1ab1307d6bab163b2b1
BLAKE2b-256 6dc3f34c95a56aeed49fc1beb0f6a1b200b3224cd4d5ae29445dd63374d00874

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wapiti_arsenic-28.2-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for wapiti_arsenic-28.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c0ae3b87f9367cc7f001c519a402cc39f842743cf3c7872f6a49edf6e0b28e2e
MD5 1daaead8e7c7782cd70e70ccff0070e7
BLAKE2b-256 c0a48dc790034da24b29b0884332589f66c1943cb7b0dc00a4ff5d32ab43baa2

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