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

Uploaded Source

Built Distribution

webdriver_cache_manager-0.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for webdriver_cache_manager-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bdaf8fa49b96d7449777255b0943a5b06119fb1ce842a76285046cca5199b295
MD5 2fd3e3d0f234423db33747d7ad45996d
BLAKE2b-256 b215c1511bcf724259ff080337e2cdb8962dacaf88d7cf70bb09bbbadd3622a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for webdriver_cache_manager-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 38450d51cb2f706fe78cf9036c9cf64b046519f21a22adb1e6b56063e9ba53a1
MD5 24c413a933c855a6efec7cd8bab35300
BLAKE2b-256 c26be7146794490184c73299b30036f45254a8fa8a0b82281884036a7a1359af

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