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

Uploaded Source

Built Distribution

webdriver_kaifuku-24.4.16.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: webdriver_kaifuku-24.4.16.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for webdriver_kaifuku-24.4.16.0.tar.gz
Algorithm Hash digest
SHA256 51d1cab34f3027b244e057692c8ce82ad2e83fee0b40fd5566c8b1f861be3c97
MD5 3a1b9f044e9a3d417af64edf996a8bef
BLAKE2b-256 967876b7dc882f5c82ccf4c797ce280551aa04ff0b9538ac44fef38efc4ccca0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for webdriver_kaifuku-24.4.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 479f9938cfb60707e65776ed0ec9822f99e4e5f539f71f7396faed682e21c257
MD5 73e9bbf0034414a9dbae6a18846dbd63
BLAKE2b-256 1b9fa7925e74ee6daaa567f1983faaa0be58bf4d5a3e1b4cf95c059296b7f171

See more details on using hashes here.

Supported by

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