Restartable webdriver instances
Project description
webdriver_kaifuku
Restartable webdriver instances
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51d1cab34f3027b244e057692c8ce82ad2e83fee0b40fd5566c8b1f861be3c97 |
|
MD5 | 3a1b9f044e9a3d417af64edf996a8bef |
|
BLAKE2b-256 | 967876b7dc882f5c82ccf4c797ce280551aa04ff0b9538ac44fef38efc4ccca0 |
File details
Details for the file webdriver_kaifuku-24.4.16.0-py3-none-any.whl
.
File metadata
- Download URL: webdriver_kaifuku-24.4.16.0-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 479f9938cfb60707e65776ed0ec9822f99e4e5f539f71f7396faed682e21c257 |
|
MD5 | 73e9bbf0034414a9dbae6a18846dbd63 |
|
BLAKE2b-256 | 1b9fa7925e74ee6daaa567f1983faaa0be58bf4d5a3e1b4cf95c059296b7f171 |