What is Gecko Driver?
Gecko driver acts as bridge to connect Firefox browser in Selenium.
For some test cases or depending upon the client requirement we need Firefox browser to execute.
How it works?
We have to download and Install Gecko Driver.
How to Download?
Step: 1
Search gecko driver download in google and click the link which is highlighted
Step:2
Select the appropriate version based on your operating system (like mac/windows),
My operating system is windows I selected the highlighted one.
Step:3
After downloading extract the Zip file
Step:4
Save the location to instantiate the driver.
How to instantiate the driver in Selenium?
Complete Code for launching Firefox using Gecko driver
Thank you for your time….Happy Coding !!!!
Comentários