# chromedriver-py
downloads and installs the latest chromedriver binary version for automated testing of webapps.
the installer supports linux, mac and windows operating systems.
this package is maintained by an automated update script on travis.
if a new chromedriver version is out, this package will automaticly get updated within a day.
## installation
due to the way how the pipeline packages the binaries, you cannot install the package from github.
installing from pypi is the only option.
__from pypi:__
```bash
$ pip install chromedriver-py
```
__specific version:__
choose your version [here](https://pypi.org/project/chromedriver-py/#history)
```bash
# example for chrome version 88
pip install chromedriver-py==88.0.4324.96
```
## usage
to use chromedriver just `from chromedriver_py import binary_path`.
you will get a string variable with the executable filepath for your operating system.
## example
```python
from selenium import webdriver
from chromedriver_py import binary_path # this will get you the path variable
svc = webdriver.ChromeService(executable_path=binary_path)
driver = webdriver.Chrome(service=svc)
# deprecated but works in older selenium versions
# driver = webdriver.Chrome(executable_path=binary_path)
driver.get("http://www.python.org")
assert "Python" in driver.title
```
Raw data
{
"_id": null,
"home_page": "http://github.com/breuerfelix/chromedriver-py",
"name": "chromedriver-py",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "chromedriver cross-platform binaries binary",
"author": "Felix Breuer",
"author_email": "fbreuer@pm.me",
"download_url": "https://files.pythonhosted.org/packages/7a/61/528440d280f3aa806f8177c0701b0cf69b96958b491cc28ba3cc44da3bff/chromedriver_py-130.0.6723.91.tar.gz",
"platform": null,
"description": "# chromedriver-py\n\ndownloads and installs the latest chromedriver binary version for automated testing of webapps. \nthe installer supports linux, mac and windows operating systems.\n\nthis package is maintained by an automated update script on travis. \nif a new chromedriver version is out, this package will automaticly get updated within a day.\n\n## installation\n\ndue to the way how the pipeline packages the binaries, you cannot install the package from github. \ninstalling from pypi is the only option.\n\n__from pypi:__\n```bash\n$ pip install chromedriver-py\n```\n\n__specific version:__ \nchoose your version [here](https://pypi.org/project/chromedriver-py/#history)\n```bash\n# example for chrome version 88\npip install chromedriver-py==88.0.4324.96\n```\n\n## usage\n\nto use chromedriver just `from chromedriver_py import binary_path`. \nyou will get a string variable with the executable filepath for your operating system.\n\n## example\n```python\nfrom selenium import webdriver\nfrom chromedriver_py import binary_path # this will get you the path variable\n\nsvc = webdriver.ChromeService(executable_path=binary_path)\ndriver = webdriver.Chrome(service=svc)\n\n# deprecated but works in older selenium versions\n# driver = webdriver.Chrome(executable_path=binary_path)\ndriver.get(\"http://www.python.org\")\nassert \"Python\" in driver.title\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "chromedriver binaries for all platforms",
"version": "130.0.6723.91",
"project_urls": {
"Homepage": "http://github.com/breuerfelix/chromedriver-py"
},
"split_keywords": [
"chromedriver",
"cross-platform",
"binaries",
"binary"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2237b87b590c4ec7152396b9eec84262d4e4222f6fb00e6b92d604cb4a60eca1",
"md5": "f39994b170dcb7e32c38e62bddfb24b8",
"sha256": "68f84a7c32705a7735b80f99fb37fdda45f4906879e65399d0dd4e8c55dcf048"
},
"downloads": -1,
"filename": "chromedriver_py-130.0.6723.91-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f39994b170dcb7e32c38e62bddfb24b8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 44116953,
"upload_time": "2024-11-03T15:49:06",
"upload_time_iso_8601": "2024-11-03T15:49:06.752419Z",
"url": "https://files.pythonhosted.org/packages/22/37/b87b590c4ec7152396b9eec84262d4e4222f6fb00e6b92d604cb4a60eca1/chromedriver_py-130.0.6723.91-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7a61528440d280f3aa806f8177c0701b0cf69b96958b491cc28ba3cc44da3bff",
"md5": "a2e1d460e772b2b3a910f83028d17edd",
"sha256": "c6df1eb36149fad5450d03671371d32057d55a714e5405ccbb9443e2afbccbfe"
},
"downloads": -1,
"filename": "chromedriver_py-130.0.6723.91.tar.gz",
"has_sig": false,
"md5_digest": "a2e1d460e772b2b3a910f83028d17edd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 44022755,
"upload_time": "2024-11-03T15:49:11",
"upload_time_iso_8601": "2024-11-03T15:49:11.093336Z",
"url": "https://files.pythonhosted.org/packages/7a/61/528440d280f3aa806f8177c0701b0cf69b96958b491cc28ba3cc44da3bff/chromedriver_py-130.0.6723.91.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-03 15:49:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "breuerfelix",
"github_project": "chromedriver-py",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "requests",
"specs": []
}
],
"lcname": "chromedriver-py"
}