Why there is a need of GeckoDriver to launch Firefox in Selenium?

0 votes

Why there is a need of GeckoDriver to launch Firefox in Selenium?

Jul 5 in Selenium by Sunaina
85 views

1 answer to this question.

0 votes

Hello Sunaina, Gecko driver is required to launch firefox as post Firefox Version 47, Firefox doesn’t allow any 3rd party tool to interact directly with it. Hence in order to interact with it, we need a proxy called GeckoDriver. In Simple terms, Selenium will send the request to GeckDriver using W3C WebDriver Protocol and then GeckoDriver will read the commands and translate them into Marionette Protocol and forwards the request to Firefox Browser. Browser will read the commands in the form of Marionette protocol and execute them. You can setup the gecko driver this way:

System.setProperty("webdriver.gecko.driver", "C:/Users/Anvi_R/geckodriver.exe");
answered Jul 5 by Anvi
• 12,860 points

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Is there a way to pass on the options/ flags to Selenium if i'm scripting in Python?

This is the usage: from selenium import webdriver from ...READ MORE

answered Jun 8, 2018 in Selenium by king_kenny
• 3,650 points
228 views
0 votes
1 answer
0 votes
1 answer

How do we use Gecko driver.exe with Selenium?

Recently Selenium launched v3 and if you ...READ MORE

answered Apr 7, 2018 in Selenium by nsv999
• 5,090 points
59 views
0 votes
1 answer
0 votes
1 answer