Skip to main content

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.

Upload Python Package

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

  1. Import Package:

    from webdriver_cache_manager import ManageChromeDriverCache
    
    1. Initialize Manager:
      • Create a Chrome Driver instance.
      • Utilize the methods for managing ChromeDriver instances.
      •  ManageChromeDriverCache(driver)
        

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

webdriver_cache_manager-0.0.6.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

webdriver_cache_manager-0.0.6-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file webdriver_cache_manager-0.0.6.tar.gz.

File metadata

File hashes

Hashes for webdriver_cache_manager-0.0.6.tar.gz
Algorithm Hash digest
SHA256 030213a8af1e0784838767cd5b82e1399e6646e6cce2b91a820c106c91c7af19
MD5 12fa624e30a4ac6f4d83ca954e0c5f3c
BLAKE2b-256 d80887ecf5fba50b42f5611715ec2fd980bcbb8bc6ec7e62ba98760a267e9767

See more details on using hashes here.

File details

Details for the file webdriver_cache_manager-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for webdriver_cache_manager-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0c03ed3120afc11a869e5a424dfe6ad378a3db32d4308b986acb327be1857644
MD5 23b6dbd3810d8de1d17c438aed981b9f
BLAKE2b-256 1babc7573b3a497c060bc87b495135c9aca3972c9097a05a2e00db8e70545953

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page