img

Selenium – Downloading Browser Drivers

So far we have successfully set up our Selenium automation environment. Now we are reached one final step which we’ll need to set up before moving ahead with the Selenium Automation.

Selenium automates the browser and to automate the browser Selenium needs to communicate with the browser. Unfortunately, browser securities don’t allow Selenium to communicate with the browser and so browser vendors provide one medium or driver to communicate the Selenium with Browser and execute the scripts. This medium is called the Browser drivers or the Browser binaries, you can download this driver files from its respective vendor’s site easily. We’re going to download Google Chrome, Mozilla Firefox and Internet Explorer drivers which are majorly used for the Automation Testing.

Google Chrome Driver

  • Google Chrome driver or chromedriver can be download from this URL. I would suggest downloading the chromedriver for the latest version or you can download the driver as per your Google Chrome version from the archive as well.
  • Once the zip file downloaded, you can unzip it, you’ll find one exe file as chromedriver.exe, that is the chrome driver which we’ll later need to automate the Google Chrome.

Mozilla Firefox Driver

  • Mozilla Firefox driver or geckodriver can be download from this URL. I would suggest downloading the geckodriver for the latest version or you can download the driver as per your Mozilla Firefox version from the archive as well.
  • Once the zip file downloaded, you can unzip it, you’ll find one exe file as geckodriver.exe, that is the firefox driver which we’ll later need to automate the Mozilla Firefox.

Note: Previously in Selenium 2, Mozilla Firefox can be automated without using the geckodriver as well.

Internet Explorer Driver

  • Internet Explorer driver or IEDriverServer can be download from this URL. You may notice, this is the same URL we have for the Selenium as well. Here you can see the section The Internet Explorer Driver Server from there you can download the IE Driver as per your OS (32-bit or 64-bit) version.
  • Once the zip file downloaded, you can unzip it, you’ll find one exe file as IEDriverServer.exe, that is the internet explorer driver which we’ll later need to automate the Internet Explorer.

That’s it! everything is set up and ready for our first automation script! Let’s start writing our first automation code in the next tutorial.

  • Facebook
  • Twitter
  • Google+
  • Linkedin
  • Pinterest

Leave a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

It is main inner container footer text