Friday, February 17, 2017

launching Firefox with Gecko Driver using Selenium 3

Selenium 2 was supporting Firefox driver launch by default, no need of using external drivers. Now Selenium 3 is released with some improvements and changes.One of the enhancement or change is the support to Firefox browser is made external like Chrome and IE Browsers. We need to use Gecko Driver to launch Firefox using Selenium 3. See the below step by step procedure in launching the Firefox browser using Gecko Driver. Assuming Selenium 3 setup already done.

Step 1: Download Gecko Driver:

            Download the latest version of geckodriver.exe , unzip the downloaded file and keep it some location on your machine. To download the Gecko Driver Click Here!!

Step 2: Set the System Property in the Script.


      
         


   
       

No comments:

Post a Comment

DevOps 01: What is DevOps and How it benefits organizations?

DevOps is a culture in an organization, where the development team and operations team help each other by sharing information, process and t...