Selenium 3 – Launching Firefox Browser using geckodriver

August 26, 2016

Selenium recently launched its one of the major release, i.e., Selenium 3 – beta. You can download it from here. In this new version, one of the major change is the way Mozilla Firefox Browser is invoked. Till Selenium 2, there was no need of having any Driver exe for Mozilla. But now GeckoDriver is necessary for invoking Firefox Browser.

Gecko Driver can be downloaded from GitHub. After downloading the Driver, we have to set the System Property, the same way we did for Chrome and Internet Explorer Driver.

The minimum version of Mozilla required for Selenium 3 is 48 and above.

Rest the code remain same as we did earlier. Let us execute the same code using geckodriver.

Note: If you are using Selenium 2.53.1 or below version, there is no need set the system path variable.

Below are some of the other important changes in Selenium 3:

  • Selenium RC (core Selenium API’s) are available only through leg-rc packages.
  • JAVA version 8+ is supported.
  • New HTML-table runner is introduced by Selenium WebDriver.
  • Official support for IE requires version 9 or above.

You can also go through below link for a Webinar conducted by Simon Stewart (The man who developed Selenium WebDriver) and is currently working as Selenium Project lead.

Video Source: Applitools – Automated Visual Testing

Selenium 3 explained via Simon Stewart himself

PS: For any questions, queries or comments feel free to write us at support@qatechub.com or saurabh@qatechhub.com

Saurabh

About the Author

Saurabh

Follow Saurabh:

Leave a Comment: