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, 2019 in Selenium by Sunaina
616 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, 2019 by Anvi
• 14,150 points

Related Questions In Selenium

0 votes
1 answer

Hi There, You said Selenium is a Firefox plugin then why does selenium support in other browsers(Chrome, IE, etc)?

Hi, Selenium IDE was initially a Firefox ...READ MORE

answered Jul 15, 2019 in Selenium by Abha
• 28,140 points
489 views
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,710 points
4,618 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,500 points
525 views
0 votes
1 answer
0 votes
2 answers

Is there any way to get the text of a web element using Selenium Webdriver?

use gettext() in java : string lableText = ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
8,170 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP