


In this tutorial, we are using the latest available version of Firefox with Selenium 3. We do not need Gecko Driver when working on Selenium 2 and old versions of Firefox. Hence, Selenium tests can communicate to it through Gecko driver only.
#Gecko driver close drivers#
Also, the latest version of Firefox(version 47.0 onwards) does not allow external drivers to interact with the browser. Therefore, we direct all the Selenium commands to Firefox browser through Gecko Driver. So, we need Gecko Diver to establish the link between Selenium tests and Firefox browser. Why Selenium 3 needs Gecko driverįrom Selenium 3 onwards, there is no native implementation of Firefox. Then, all the tests communicate to this server to run the Selenium commands. Basically, this executable starts a server on the local system. Internally, Selenium tests interact with Firefox using an executable called GeckoDriver.exe. Typically, the applications developed by Mozilla Foundation and the Mozilla Corporation use this driver. Also, GeckoDriver provides a proxy to interact with Gecko-based browsers like Firefox. Introducing GeckoDriver What is Gecko Driver
#Gecko driver close how to#
In this tutorial, we will learn how to execute the Selenium code on the Firefox browser. Hence, to run the Selenium script, on different browsers, we need corresponding browser drivers. But, to achieve this feature Selenium needs browser-specific browser. Selenium is a multi-browser multi-platform automation tool.
