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
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
Hashes for webdriver_cache_manager_mnawaz6935-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38f7faa35ca581415ef021499999704631ee406d36d5af108383e1573ca14cb0 |
|
MD5 | 693e36babd1780c8ee97e11322b76586 |
|
BLAKE2b-256 | b5bd674aee7bb3334c4bc1669c8ea6c7d60a5debb1fdd4cefcde8f2b53eb04a5 |
Hashes for webdriver_cache_manager_mnawaz6935-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 249855cc603de772322bfaad5261128336725df785c1ab98165911e33c184950 |
|
MD5 | d7462a4cacf57e95063bac7588763fda |
|
BLAKE2b-256 | 3c7eb3636b2167940e9883f6e1f279ee14691a00606376493de4fa00ffdf8464 |