Skip to main content

Restartable webdriver instances

Project description

webdriver_kaifuku

Restartable webdriver instances

Python Versions PyPI version github actions License

The library provides restartable webdriver instances.

Usage:

It support both local and remote webdriver. Some basic examples are-

  • Local Browser

Make sure webdriver is already installed on your local machine.

from webdriver_kaifuku import BrowserManager

manager = BrowserManager.from_conf({"webdriver": "Chrome"})
manager.start()
manager.close()
from webdriver_kaifuku import BrowserManager

manager_config = {
    "webdriver": "Remote",
    "webdriver_options": {
        "desired_capabilities": {"browserName": "firefox"},
        "command_executor": "http://localhost:<port>",
    },
}
manager = BrowserManager.from_conf(manager_config)
manager.start()
manager.close()

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

webdriver_kaifuku-23.6.19.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

webdriver_kaifuku-23.6.19.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file webdriver_kaifuku-23.6.19.0.tar.gz.

File metadata

  • Download URL: webdriver_kaifuku-23.6.19.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for webdriver_kaifuku-23.6.19.0.tar.gz
Algorithm Hash digest
SHA256 a565ac32aff85615f7dbd378b0c2d3b3c53f600cfb6b4ce874382e66db2053cc
MD5 3ef8544ccb4ac3793b4a8649b100ecd4
BLAKE2b-256 501a493e18e25f0f4d62718ea78a3349d425b252c63b75b8d34d5c790ab904a0

See more details on using hashes here.

File details

Details for the file webdriver_kaifuku-23.6.19.0-py3-none-any.whl.

File metadata

File hashes

Hashes for webdriver_kaifuku-23.6.19.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8cea8415dde4694c205a7e6ba6937f4ad05a5ce9fe4e66a188a7f1dc5cfbfa7a
MD5 d70bff09a9949d8a4a9d5693366cff84
BLAKE2b-256 a8166c275470d86ff1cc5b8d2501ea4cf9138f3920a235907bf819c2d647a5a4

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