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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for webdriver_cache_manager-0.0.5.tar.gz
Algorithm Hash digest
SHA256 3e1e8eb247a7291568d731ab7a1085389bc121b22996ced03f9b24461c1a2458
MD5 e4bea44c8569481426830fd8e4cabd69
BLAKE2b-256 e516688f773e56792fafc3bf7a51ecae06dd5171fcf4ff23d195f9ab7104de50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for webdriver_cache_manager-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fb38f76ad1c58f0ec8ba8f0f12d58c67dd037ba45481937be221fafaf26ec2d9
MD5 ab8c595456e2fcea6af825db39cd3658
BLAKE2b-256 72d8f5d3d6130816270d39e193fc994096223da0cd1730216915957f41d4339e

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