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.10.12.0.tar.gz (10.3 kB view hashes)

Uploaded Source

Built Distribution

webdriver_kaifuku-23.10.12.0-py3-none-any.whl (10.5 kB view hashes)

Uploaded Python 3

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