Using Gecko Driver in Selenium 3.0 : Selenium Tutorial

If you are using Firefox 47 or above then Gecko Driver required running scripts in Selenium Webdriver.
If you are using Selenium 2 version or below, you don’t need gecko driver. You can download selenium-server-standalone-2.53.1.jar from download selenium 2.53.1

Without Gecko Driver:

Output:

throws an exception “java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.gecko.driver system property;”

Using Gecko Driver in Selenium 3.0

Output:

“Code Run Successfully”

Gecko Driver

After using Gecko Driver program executed without any error. Download Gecko Driver

For more information check Gecko Driver History

So, I hope you liked above article if yes then please comment below and share this article with your friends. I tried from side to make the article as small as possible with useful information.


Also, Check:

Basic Login Script using Selenium Webdriver
Multi Browser or Cross Browser Testing in Selenium WebDriver

Leave a Reply

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