New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chromedriver-py

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromedriver-py

chromedriver binaries for all platforms

  • 133.0.6943.53
  • PyPI
  • Socket score

Maintainers
1

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:

$ pip install chromedriver-py

specific version:
choose your version here

# 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

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc