webdriver-auto-update


Namewebdriver-auto-update JSON
Version 1.2.1 PyPI version JSON
download
home_pagehttps://github.com/competencytestlvl/webdriver_auto_update
SummaryA tool for managing ChromeDriver downloads and updates
upload_time2024-03-01 14:26:44
maintainer
docs_urlNone
authorRony Khong
requires_python>=3.9
license
keywords auto browser chrome driver download selenium update web webdriver
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # webdriver_auto_update

A tool for managing ChromeDriver downloads and updates

## Features

- Automatically downloads the latest stable version of ChromeDriver.
- Compares the local ChromeDriver version with the latest online version.
- Updates ChromeDriver to the latest version if necessary.
- Works on Windows, Linux, and macOS.

## Getting Started

### Pre-requisites:

1. Python 3
2. Download Google Chrome
3. pip install selenium
4. Additional required packages listed in `requirements.txt`.

### Installation (Option 1)

Clone this repository from GitHub

```
git clone https://github.com/competencytestlvl/webdriver_auto_update.git
```

### Installation (Option 2)

Install the required package from PyPI:

```
pip install webdriver-auto-update
```

### Usage

1. Navigate to the directory where you've cloned or downloaded the repository
2. Run the following example:

   ```
   from webdriver_auto_update.chrome_app_utils import ChromeAppUtils
   from webdriver_auto_update.webdriver_manager import WebDriverManager

   # Using ChromeAppUtils to inspect Chrome application version
   chrome_app_utils = ChromeAppUtils()
   chrome_app_version = chrome_app_utils.get_chrome_version()
   print("Chrome application version: ", chrome_app_version)

   # Target directory to store chromedriver
   driver_directory = "/path/to/driver/directory"

   # Create an instance of WebDriverManager
   driver_manager = WebDriverManager(driver_directory)

   # Call the main method to manage chromedriver
   driver_manager.main()
   ```

### Note

- The objective of this program is to reduce redundancy of searching and downloading the updated version of chrome driver to the OpenSource community.
- Intended to be used in Selenium projects, browser testing or web automation.

## Contributing

Contributions are welcome! If you find any issues or want to add new features, feel free to submit a pull request or reach out to me.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/competencytestlvl/webdriver_auto_update",
    "name": "webdriver-auto-update",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "auto,browser,chrome,driver,download,selenium,update,web,webdriver",
    "author": "Rony Khong",
    "author_email": "ronykhong77@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b5/e1/fc5c5e8faa3ce53a23d50da88c92fb8cc5d4c5bae5476f9fef8f5e09ed8a/webdriver_auto_update-1.2.1.tar.gz",
    "platform": null,
    "description": "# webdriver_auto_update\r\n\r\nA tool for managing ChromeDriver downloads and updates\r\n\r\n## Features\r\n\r\n- Automatically downloads the latest stable version of ChromeDriver.\r\n- Compares the local ChromeDriver version with the latest online version.\r\n- Updates ChromeDriver to the latest version if necessary.\r\n- Works on Windows, Linux, and macOS.\r\n\r\n## Getting Started\r\n\r\n### Pre-requisites:\r\n\r\n1. Python 3\r\n2. Download Google Chrome\r\n3. pip install selenium\r\n4. Additional required packages listed in `requirements.txt`.\r\n\r\n### Installation (Option 1)\r\n\r\nClone this repository from GitHub\r\n\r\n```\r\ngit clone https://github.com/competencytestlvl/webdriver_auto_update.git\r\n```\r\n\r\n### Installation (Option 2)\r\n\r\nInstall the required package from PyPI:\r\n\r\n```\r\npip install webdriver-auto-update\r\n```\r\n\r\n### Usage\r\n\r\n1. Navigate to the directory where you've cloned or downloaded the repository\r\n2. Run the following example:\r\n\r\n   ```\r\n   from webdriver_auto_update.chrome_app_utils import ChromeAppUtils\r\n   from webdriver_auto_update.webdriver_manager import WebDriverManager\r\n\r\n   # Using ChromeAppUtils to inspect Chrome application version\r\n   chrome_app_utils = ChromeAppUtils()\r\n   chrome_app_version = chrome_app_utils.get_chrome_version()\r\n   print(\"Chrome application version: \", chrome_app_version)\r\n\r\n   # Target directory to store chromedriver\r\n   driver_directory = \"/path/to/driver/directory\"\r\n\r\n   # Create an instance of WebDriverManager\r\n   driver_manager = WebDriverManager(driver_directory)\r\n\r\n   # Call the main method to manage chromedriver\r\n   driver_manager.main()\r\n   ```\r\n\r\n### Note\r\n\r\n- The objective of this program is to reduce redundancy of searching and downloading the updated version of chrome driver to the OpenSource community.\r\n- Intended to be used in Selenium projects, browser testing or web automation.\r\n\r\n## Contributing\r\n\r\nContributions are welcome! If you find any issues or want to add new features, feel free to submit a pull request or reach out to me.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A tool for managing ChromeDriver downloads and updates",
    "version": "1.2.1",
    "project_urls": {
        "Homepage": "https://github.com/competencytestlvl/webdriver_auto_update"
    },
    "split_keywords": [
        "auto",
        "browser",
        "chrome",
        "driver",
        "download",
        "selenium",
        "update",
        "web",
        "webdriver"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c8258f6b066a753ec9aab4981bc8d2132716a2f74b71c2dc521b30fe00b1f9f9",
                "md5": "fd4346eee8572b9a7dff6887b9233c5d",
                "sha256": "249f70599f2d2540effbb7ff083d82a2bbea3e06e532bf28c9ebdee38a63dc8a"
            },
            "downloads": -1,
            "filename": "webdriver_auto_update-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fd4346eee8572b9a7dff6887b9233c5d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 7400,
            "upload_time": "2024-03-01T14:26:42",
            "upload_time_iso_8601": "2024-03-01T14:26:42.769865Z",
            "url": "https://files.pythonhosted.org/packages/c8/25/8f6b066a753ec9aab4981bc8d2132716a2f74b71c2dc521b30fe00b1f9f9/webdriver_auto_update-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b5e1fc5c5e8faa3ce53a23d50da88c92fb8cc5d4c5bae5476f9fef8f5e09ed8a",
                "md5": "a41aa598aeedd68e964cfc5827b43f3c",
                "sha256": "95c2d34a04d11f23480252a014b49838d6247369c785f57514e24131c6afe132"
            },
            "downloads": -1,
            "filename": "webdriver_auto_update-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "a41aa598aeedd68e964cfc5827b43f3c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 7077,
            "upload_time": "2024-03-01T14:26:44",
            "upload_time_iso_8601": "2024-03-01T14:26:44.241286Z",
            "url": "https://files.pythonhosted.org/packages/b5/e1/fc5c5e8faa3ce53a23d50da88c92fb8cc5d4c5bae5476f9fef8f5e09ed8a/webdriver_auto_update-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-01 14:26:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "competencytestlvl",
    "github_project": "webdriver_auto_update",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "webdriver-auto-update"
}
        
Elapsed time: 0.19674s