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.8.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

webdriver_cache_manager-0.0.8-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for webdriver_cache_manager-0.0.8.tar.gz
Algorithm Hash digest
SHA256 b8a26c4bfb0e6c32cee407e7579551ac801415bbefd1a15297b2e52701cda594
MD5 0c639719c186ec6bf975942b7bb55e1b
BLAKE2b-256 4fc793efee6d1a9f67d7ed334a4f065245c1519368a24d6ab50d434f75f279c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for webdriver_cache_manager-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5993ec4fb3a55acb1946f52cc501ae533581272e8fa858bef7838fdc64af7249
MD5 46b82533741f96644e3344020d98a791
BLAKE2b-256 4cea5e3bf9adf7e2f454a76e4bf9249100997de0a46fe2855e0dabef86b99368

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