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

Uploaded Source

Built Distribution

webdriver_cache_manager-0.0.4-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for webdriver_cache_manager-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ca114a111b982b97184002ef5cf83675ecfb76dc911d87ce8fd1501d2d4e9a0f
MD5 d529e0853deb60ecfe9fa44ebcdd68cf
BLAKE2b-256 a1a3a5d4b9e5bf24b9c476e8135a7f74b156b0521cab46f9843c3a6a69c0baae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for webdriver_cache_manager-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2ec7b3d18dc02d23df9b88323454ebe93069f3001ab47e4fb23b93f9c7c0594d
MD5 77e2fb02d550d7bf475af18d29dced04
BLAKE2b-256 b8adf6ae39703e700aff0b9398758f3ea0aa344d50b0ef1223feef295a255a1c

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