Best way to install chrome driver in you OS (python)

ChromeDriverBinaryAuto:

Pre-requisite:

Installation:

pip install chromedriver-binary-auto
pip install --upgrade --force-reinstall chromedriver-binary-auto

From GitHub:

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

Usage:

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
$ export PATH=$PATH:`chromedriver-path`

--

--

--

webdeveloper and programmer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Update Auth0 Applications using the Management API

Full Stack Web Development Frameworks

Bash Scripting : What is a Bash script?

CI/CD configuration with GitLab Runner and pm2

CS371P Fall 2021

Embedding Svelte App into a Golang Binary

Using Amazon Redshift Stored Procedures

Install grpccurl in Ubuntu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ashwin.B

Ashwin.B

webdeveloper and programmer

More from Medium

Python module not found — Ultimate guide

A quick method to cross-cluster data copying with a Python script

Primitive Data Types in Python

Build a WORDLE bot using python [part — 2]