fast-chromedriver-manager


Namefast-chromedriver-manager JSON
Version 1.0.6 PyPI version JSON
download
home_pagehttps://github.com/fnmanfre/fast-chromedriver-manager
SummaryFast Chromedriver Manager is a Python library that automates the download and installation of the correct version of Chromedriver for your browser, ensuring seamless compatibility. This makes it easier to set up environments for Robotic Process Automation (RPA) applications. Ideal for developers using Selenium or other tools that require Chromedriver, this package guarantees that you always have the right version, eliminating compatibility issues between the browser and the driver.
upload_time2024-08-22 19:30:25
maintainerNone
docs_urlNone
authorFernando N. Manfré
requires_python>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Fast ChromeDriver Manager

**Fast Chromedriver Manager** is a Python library that automates the download and installation of the correct version of Chromedriver for your browser, ensuring seamless compatibility. This makes it easier to set up environments for Robotic Process Automation (RPA) applications. Ideal for developers using Selenium or other tools that require Chromedriver, this package guarantees that you always have the right version, eliminating compatibility issues between the browser and the driver.

### Current version: 1.0.6

### Features

* **Automatic Download:** Automatically downloads and installs the appropriate version of ChromeDriver based on the installed version of Chrome.
* **Compatibility Assurance:** Ensures that the ChromeDriver version matches the installed Chrome version, avoiding version mismatches.
* **Easy Integration:** Seamlessly integrates into existing automation scripts, reducing setup and configuration time.
* **Customization:** Offers flexibility to customize the download directory and other aspects of the ChromeDriver installation process.

### Note

* **Current Support:** The current version of `fast-chromedriver-manager` supports only Windows 64-bit systems. Support for other platforms will be added in future releases.

### Usage Example

```
from fast_chromedriver_manager import FastChromeDriverManager

chromedriver_path = FastChromeDriverManager().install()

print(f"ChromeDriver is installed at: {chromedriver_path}")

```

### Usage example with specified Chromedriver path

```
from fast_chromedriver_manager import FastChromeDriverManager

path = 'my_path'
chromedriver_path = FastChromeDriverManager(path).install()

print(f"ChromeDriver is installed at: {chromedriver_path}")
```

### Usage Example with Selenium

```
from selenium import webdriver
from fast_chromedriver_manager import FastChromeDriverManager

# Set up the WebDriver with the path to the ChromeDriver
options = webdriver.ChromeOptions()
driver = webdriver.Chrome(executable_path=FastChromeDriverManager().install(), options=options)

# Open a website and perform actions
driver.get('https://www.example.com')

# Print the title of the webpage
print(f"Page title is: {driver.title}")

# Close the browser
driver.quit()

```

### Usage Example with Selenium and Service

```
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from fast_chromedriver_manager import FastChromeDriverManager

# Set up the WebDriver with the path to the ChromeDriver using Service
service = Service(executable_path=FastChromeDriverManager().install())
options = webdriver.ChromeOptions()
driver = webdriver.Chrome(service=service, options=options)

# Open a website and perform actions
driver.get('https://www.example.com')

# Print the title of the webpage
print(f"Page title is: {driver.title}")

# Close the browser
driver.quit()

```

### Exceptions

The library raises custom exceptions to handle specific errors:

* `ChromeVersionError`: Raised when the Chrome version cannot be determined.
* `ChromeDriverDownloadError`: Raised when the ChromeDriver download fails.

### Support

For support, please contact:

Fernando Manfré:	 fn.manfre@gmail.com

### Contribution

Contributions are welcome! Feel free to open issues or submit pull requests.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/fnmanfre/fast-chromedriver-manager",
    "name": "fast-chromedriver-manager",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Fernando N. Manfr\u00e9",
    "author_email": "fn.manfre@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f1/14/ffaaa2144a9cf15570cd72171fa89cb041669f8ae1ff73f166e5dc817798/fast_chromedriver_manager-1.0.6.tar.gz",
    "platform": null,
    "description": "# Fast ChromeDriver Manager\r\n\r\n**Fast Chromedriver Manager** is a Python library that automates the download and installation of the correct version of Chromedriver for your browser, ensuring seamless compatibility. This makes it easier to set up environments for Robotic Process Automation (RPA) applications. Ideal for developers using Selenium or other tools that require Chromedriver, this package guarantees that you always have the right version, eliminating compatibility issues between the browser and the driver.\r\n\r\n### Current version: 1.0.6\r\n\r\n### Features\r\n\r\n* **Automatic Download:** Automatically downloads and installs the appropriate version of ChromeDriver based on the installed version of Chrome.\r\n* **Compatibility Assurance:** Ensures that the ChromeDriver version matches the installed Chrome version, avoiding version mismatches.\r\n* **Easy Integration:** Seamlessly integrates into existing automation scripts, reducing setup and configuration time.\r\n* **Customization:** Offers flexibility to customize the download directory and other aspects of the ChromeDriver installation process.\r\n\r\n### Note\r\n\r\n* **Current Support:** The current version of `fast-chromedriver-manager` supports only Windows 64-bit systems. Support for other platforms will be added in future releases.\r\n\r\n### Usage Example\r\n\r\n```\r\nfrom fast_chromedriver_manager import FastChromeDriverManager\r\n\r\nchromedriver_path = FastChromeDriverManager().install()\r\n\r\nprint(f\"ChromeDriver is installed at: {chromedriver_path}\")\r\n\r\n```\r\n\r\n### Usage example with specified Chromedriver path\r\n\r\n```\r\nfrom fast_chromedriver_manager import FastChromeDriverManager\r\n\r\npath = 'my_path'\r\nchromedriver_path = FastChromeDriverManager(path).install()\r\n\r\nprint(f\"ChromeDriver is installed at: {chromedriver_path}\")\r\n```\r\n\r\n### Usage Example with Selenium\r\n\r\n```\r\nfrom selenium import webdriver\r\nfrom fast_chromedriver_manager import FastChromeDriverManager\r\n\r\n# Set up the WebDriver with the path to the ChromeDriver\r\noptions = webdriver.ChromeOptions()\r\ndriver = webdriver.Chrome(executable_path=FastChromeDriverManager().install(), options=options)\r\n\r\n# Open a website and perform actions\r\ndriver.get('https://www.example.com')\r\n\r\n# Print the title of the webpage\r\nprint(f\"Page title is: {driver.title}\")\r\n\r\n# Close the browser\r\ndriver.quit()\r\n\r\n```\r\n\r\n### Usage Example with Selenium and Service\r\n\r\n```\r\nfrom selenium import webdriver\r\nfrom selenium.webdriver.chrome.service import Service\r\nfrom fast_chromedriver_manager import FastChromeDriverManager\r\n\r\n# Set up the WebDriver with the path to the ChromeDriver using Service\r\nservice = Service(executable_path=FastChromeDriverManager().install())\r\noptions = webdriver.ChromeOptions()\r\ndriver = webdriver.Chrome(service=service, options=options)\r\n\r\n# Open a website and perform actions\r\ndriver.get('https://www.example.com')\r\n\r\n# Print the title of the webpage\r\nprint(f\"Page title is: {driver.title}\")\r\n\r\n# Close the browser\r\ndriver.quit()\r\n\r\n```\r\n\r\n### Exceptions\r\n\r\nThe library raises custom exceptions to handle specific errors:\r\n\r\n* `ChromeVersionError`: Raised when the Chrome version cannot be determined.\r\n* `ChromeDriverDownloadError`: Raised when the ChromeDriver download fails.\r\n\r\n### Support\r\n\r\nFor support, please contact:\r\n\r\nFernando Manfr\u00e9:\t fn.manfre@gmail.com\r\n\r\n### Contribution\r\n\r\nContributions are welcome! Feel free to open issues or submit pull requests.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Fast Chromedriver Manager is a Python library that automates the download and installation of the correct version of Chromedriver for your browser, ensuring seamless compatibility. This makes it easier to set up environments for Robotic Process Automation (RPA) applications. Ideal for developers using Selenium or other tools that require Chromedriver, this package guarantees that you always have the right version, eliminating compatibility issues between the browser and the driver.",
    "version": "1.0.6",
    "project_urls": {
        "Homepage": "https://github.com/fnmanfre/fast-chromedriver-manager"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2a2928ce564ce6f3eb05fb54ed7d7a0da974fc9f7ba70d5e973e51bd92438c5d",
                "md5": "0004ca8b21b736d87a21512d2a7585a4",
                "sha256": "ac7b65b178c26496b7fc5754b80f44378e13fa12e4248d3f71328b22ea176a66"
            },
            "downloads": -1,
            "filename": "fast_chromedriver_manager-1.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0004ca8b21b736d87a21512d2a7585a4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 6892,
            "upload_time": "2024-08-22T19:30:23",
            "upload_time_iso_8601": "2024-08-22T19:30:23.729054Z",
            "url": "https://files.pythonhosted.org/packages/2a/29/28ce564ce6f3eb05fb54ed7d7a0da974fc9f7ba70d5e973e51bd92438c5d/fast_chromedriver_manager-1.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f114ffaaa2144a9cf15570cd72171fa89cb041669f8ae1ff73f166e5dc817798",
                "md5": "31d342b6ef656a7cce7c8ffbc795c7d3",
                "sha256": "9e37a799f5d72fc19d39f28b736dfc1712b4dc445d7fc7f254988cfb56ac8371"
            },
            "downloads": -1,
            "filename": "fast_chromedriver_manager-1.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "31d342b6ef656a7cce7c8ffbc795c7d3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 6936,
            "upload_time": "2024-08-22T19:30:25",
            "upload_time_iso_8601": "2024-08-22T19:30:25.225231Z",
            "url": "https://files.pythonhosted.org/packages/f1/14/ffaaa2144a9cf15570cd72171fa89cb041669f8ae1ff73f166e5dc817798/fast_chromedriver_manager-1.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 19:30:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fnmanfre",
    "github_project": "fast-chromedriver-manager",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "fast-chromedriver-manager"
}
        
Elapsed time: 0.38398s