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.

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

Uploaded Source

Built Distribution

webdriver_cache_manager-0.0.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for webdriver_cache_manager-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5e059d8bb69972cccd5ef30ba1724c1929cc0084f3793a7c68a96d39ecd49db8
MD5 06242a0f9658fd8c4855b9601ad14652
BLAKE2b-256 02d8ce231fab03067b3c8680909bf165730af71ae0f2cfa58de462af45f05a3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for webdriver_cache_manager-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c19c563a43e2927180f382b822b324000f5933c2c4db56bd054c167df0611d16
MD5 d310e74852ce68ed49c6f5565ad52c02
BLAKE2b-256 0688381a4a665fd6f0d1413092e9c06d22778bedf103155285c98b85b7086d54

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