HomeWebDriverIO

WebDriverIO – Download GeckoDriver for Windows and Configure

WebDriverIO – Download GeckoDriver for Windows and Configure

<<Main Post          <<Complete WebDriverIO Tutorial>>

WebDriverIO – Download GeckoDriver for Windows and Configure

Firstly understand, What is Gecko and GeckoDriver ?

Gecko is a web browser engine used in many applications developed by Mozilla Foundation and the Mozilla Corporation.

GeckoDriver is the link between your tests in Selenium and the Firefox browser.

GeckoDriver is a proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers i.e. Mozilla Firefox in this case.

As Selenium 3 or later version will not have any native implementation of Firefox, we have to direct all the driver commands through GeckoDriver.

GeckoDriver is an executable file that you need to have in one of the system path before starting your tests.

Firefox browser implements the WebDriver protocol using an executable called GeckoDriver.exe. This executable starts a server on your system. All your tests communicate to this server to run your tests. It translates calls into the Marionette automation protocol by acting as a proxy between the local and remote ends.

Steps to Download GeckoDriver

1) Navigate to https://github.com/mozilla/geckodriver/releases, using any browser and Select the appropriate version for GeckoDriver download based on your operating system

Note: Download the latest version of GeckoDriver (0.24.0 was the latest GekoDriver version while we were demonstrating this tutorial as on May 4th 2019)

2) Once the ZIP file download is complete, extract the contents of ZIP File onto a file folder

3) Note the location where you extracted the driver. Location will be used later to instantiate the driver.

Check Geckodriver and your Firefox Browsers Compatibility

Note :- We have to install the latest or compatible Firefox browser for GeckoDriver to avoid any compatibility issues.

Check the Firefox Browser version you have and select to update it latest version.

WebDriverIO - FirefoxUpToDate

Now, you can move to the main post, to continue running your first automation script using WebDriverIO

Happy Learning 🙂

About Me > Ajay Lunia 

Connect to me on Linked In (Click here)

On a mission to contribute to the Software Testing Community in all possible ways

<<Main Post          <<Complete WebDriverIO Tutorial>>

If you like this article, share it on LinkedIn using the below button:

Comments (4)

  • Thanks for the articles.

    Somehow difficult to understand the gecko driver in this article.

    What is gecko driver and Marionette automation protocol role in the selenium tests? Could you please clarify the details. It much be better in diagram view.

    Thanks,
    Loga

    Reply

Leave a Reply

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