chromedriver-binary


Namechromedriver-binary JSON
Version 133.0.6877.0.0 PyPI version JSON
download
home_pagehttps://github.com/danielkaiser/python-chromedriver-binary
SummaryInstaller for chromedriver.
upload_time2024-12-05 04:05:00
maintainerNone
docs_urlNone
authorDaniel Kaiser
requires_pythonNone
licenseMIT
keywords chromedriver chrome browser selenium splinter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # chromedriver-binary
Downloads and installs the [chromedriver](https://sites.google.com/a/chromium.org/chromedriver/) binary version 133.0.6877.0 for automated testing of webapps. The installer supports Linux, MacOS and Windows operating systems.

Alternatively the package [chromedriver-binary-auto](https://pypi.org/project/chromedriver-binary-auto/) can be used to automatically detect the latest chromedriver version required for the installed Chrome/Chromium browser.

## Installation

### Latest and fixed versions

#### From PyPI
```
pip install chromedriver-binary
```

#### From GitHub
```
pip install git+https://github.com/danielkaiser/python-chromedriver-binary.git
```

### Automatically detected versions

Please make sure to install Chrome or Chromium first and add the browser to the binary search path.

#### From PyPI
```
pip install chromedriver-binary-auto
```

To redetect the required version and install the newest suitable chromedriver after the first installation simply reinstall the package using
```
pip install --upgrade --force-reinstall chromedriver-binary-auto
```

#### From GitHub
```
pip install git+https://github.com/danielkaiser/python-chromedriver-binary.git@chromedriver-binary-auto
```

If the installed chromedriver version does not match your browser's version please try to [empty pip's cache](https://pip.pypa.io/en/stable/cli/pip_cache/) or disable the cache during (re-)installation.

## Usage
To use chromedriver just `import chromedriver_binary`. This will add the executable to your PATH so it will be found. You can also get the absolute filename of the binary with `chromedriver_binary.chromedriver_filename`.

### Example
```
from selenium import webdriver
import chromedriver_binary  # Adds chromedriver binary to path

driver = webdriver.Chrome()
driver.get("http://www.python.org")
assert "Python" in driver.title
```

### Exporting chromedriver binary path
This package installs a small shell script `chromedriver-path` to easily set and export the PATH variable:
```
$ export PATH=$PATH:`chromedriver-path`
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/danielkaiser/python-chromedriver-binary",
    "name": "chromedriver-binary",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "chromedriver chrome browser selenium splinter",
    "author": "Daniel Kaiser",
    "author_email": "daniel.kaiser94@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/00/14/b2f35f4fafaa067fe2c6ae55a6d319790cd0d44ef6c9b7f1d89b86fe706a/chromedriver_binary-133.0.6877.0.0.tar.gz",
    "platform": null,
    "description": "# chromedriver-binary\nDownloads and installs the [chromedriver](https://sites.google.com/a/chromium.org/chromedriver/) binary version 133.0.6877.0 for automated testing of webapps. The installer supports Linux, MacOS and Windows operating systems.\n\nAlternatively the package [chromedriver-binary-auto](https://pypi.org/project/chromedriver-binary-auto/) can be used to automatically detect the latest chromedriver version required for the installed Chrome/Chromium browser.\n\n## Installation\n\n### Latest and fixed versions\n\n#### From PyPI\n```\npip install chromedriver-binary\n```\n\n#### From GitHub\n```\npip install git+https://github.com/danielkaiser/python-chromedriver-binary.git\n```\n\n### Automatically detected versions\n\nPlease make sure to install Chrome or Chromium first and add the browser to the binary search path.\n\n#### From PyPI\n```\npip install chromedriver-binary-auto\n```\n\nTo redetect the required version and install the newest suitable chromedriver after the first installation simply reinstall the package using\n```\npip install --upgrade --force-reinstall chromedriver-binary-auto\n```\n\n#### From GitHub\n```\npip install git+https://github.com/danielkaiser/python-chromedriver-binary.git@chromedriver-binary-auto\n```\n\nIf the installed chromedriver version does not match your browser's version please try to [empty pip's cache](https://pip.pypa.io/en/stable/cli/pip_cache/) or disable the cache during (re-)installation.\n\n## Usage\nTo use chromedriver just `import chromedriver_binary`. This will add the executable to your PATH so it will be found. You can also get the absolute filename of the binary with `chromedriver_binary.chromedriver_filename`.\n\n### Example\n```\nfrom selenium import webdriver\nimport chromedriver_binary  # Adds chromedriver binary to path\n\ndriver = webdriver.Chrome()\ndriver.get(\"http://www.python.org\")\nassert \"Python\" in driver.title\n```\n\n### Exporting chromedriver binary path\nThis package installs a small shell script `chromedriver-path` to easily set and export the PATH variable:\n```\n$ export PATH=$PATH:`chromedriver-path`\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Installer for chromedriver.",
    "version": "133.0.6877.0.0",
    "project_urls": {
        "Homepage": "https://github.com/danielkaiser/python-chromedriver-binary"
    },
    "split_keywords": [
        "chromedriver",
        "chrome",
        "browser",
        "selenium",
        "splinter"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0014b2f35f4fafaa067fe2c6ae55a6d319790cd0d44ef6c9b7f1d89b86fe706a",
                "md5": "bb556e028ccef0b9e9aab079f8071467",
                "sha256": "bec5d4af9ca2500ab4783815bae168a29f2cda05d1a36af16d7676a6ed9fac8a"
            },
            "downloads": -1,
            "filename": "chromedriver_binary-133.0.6877.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "bb556e028ccef0b9e9aab079f8071467",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5593,
            "upload_time": "2024-12-05T04:05:00",
            "upload_time_iso_8601": "2024-12-05T04:05:00.599564Z",
            "url": "https://files.pythonhosted.org/packages/00/14/b2f35f4fafaa067fe2c6ae55a6d319790cd0d44ef6c9b7f1d89b86fe706a/chromedriver_binary-133.0.6877.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-05 04:05:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "danielkaiser",
    "github_project": "python-chromedriver-binary",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "chromedriver-binary"
}
        
Elapsed time: 0.48852s