Automation testingHow ToQa

How to install chromedriver for selenium tests

1 Mins read

If you are looking for how to how to install chromedriver on either linux, Mac or Windows, you are on the right page.
Chromedriver enables your Selenium tests to run against a headless Chrome browser. There are no UI elements, no JavaScript, and remote web pages are not supported. However, all other functionality is still available to remote webpages that use the Selenium Remote Control protocol. As with the standalone server distribution, only your test code should be running in Chrome. Large test suites may require more than one machine to run all of their tests in parallel.

How to install chromedriver:

Step 1:

Visit the official chromedriver webpage here.

Step 2:

Click on the appropriate version of your OS and save the file

how to install chromedriver

Expect to see downloads like the one’ on the screenshot on the left.

Step 3.

Unzip the file and based on the OS you are on, follow the normal install process of double-clicking and following through.

For windows users, be sure to add chromedriver.exe to the path directory.

Alternative installation process on how to install chromedriver .

If you have pip installed, just type in the following in your command prompt/terminal.

pip install selenium

All done, now let us test!

To test whether chromedriver has been installed successfully – check this quick tutorial on selenium ruby automation part I.

Don’t miss amazing tips!

Related posts
How ToProgrammingSoftware

How To Write Clean Code

3 Mins read
Let’s look at tips and tricks on how to write clean code. Everyone wants to be able to write code that is…
How To

Is The Universe Infinite or Finite

3 Mins read
Table of contents0.1 What is cosmic inflation?0.2 How is space measured?0.3 Conclusion1 Don’t miss amazing tips! Is the Universe infinite or finite….
How To

Extremely Simple Ways To Celebrate Small Wins At Home

2 Mins read
This is a post about how the ways to celebrate small wins. These are not major achievements like graduating college, buying a…

Leave a Reply

Your email address will not be published. Required fields are marked *

− 6 = 1

Automation testingQa

Selenium Ruby tutorial — How to get started Part I