Optimize WebDriver usage in Selenium with Python. Manage processes, terminate efficiently, and handle PIDs using CSV. Simplify automation!
Project description
webdriver_cache_manager
webdriver_cache_manager
simplifies managing ChromeDriver instances in Selenium using Python. Track active processes, terminate unused instances, and handle associated PIDs with ease.
Installation
Install via pip:
pip install webdriver_cache_manager
Features
- Process Tracking: Monitor active ChromeDriver instances.
- Termination: Safely terminate unused ChromeDriver processes.
- CSV Management: Handle PIDs efficiently using CSV files.
Usage
-
Import Package:
from webdriver_cache_manager import ManageChromeDriverCache
- Initialize Manager:
- Create a
Chrome Driver
instance. - Utilize the methods for managing ChromeDriver instances.
-
ManageChromeDriverCache(driver)
- Create a
- Initialize Manager:
Examples
Check out the provided examples and utilities for managing ChromeDriver instances in the examples
directory.
Contributions
Contributions are welcome! If you encounter issues or have suggestions, feel free to create an issue or submit a pull request.
License
This project is licensed under the MIT License.
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
Built Distribution
File details
Details for the file webdriver_cache_manager-0.0.9.tar.gz
.
File metadata
- Download URL: webdriver_cache_manager-0.0.9.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 486edcd18eff825c36f4e5aa4c964957867936beabfc4440fc199275da3feec3 |
|
MD5 | e3758ee1b6d17b138d93954a8c121968 |
|
BLAKE2b-256 | 75db72699e8406672db088a965e8416cd055a6678e2fef54d98408b3ff23fdce |
File details
Details for the file webdriver_cache_manager-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: webdriver_cache_manager-0.0.9-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31db49c249c8271ba16c51749abdac12ac9d9eab9ea094b927d72b5e27c4f9f7 |
|
MD5 | 863e8b5c7d8f386fbed138264ad06555 |
|
BLAKE2b-256 | f034fbdd1b578020c56d9cc0b3823de7b016e63dc5b1516f9695149edec4af0d |