In Selenium why does Firefox requires GeckoDriver

0 votes

I wanted to use Selenium with all the 3 Browsers, So, I wrote the following different codes:

FirefoxDriver driver = new FirefoxDriver();
ChromeDriver driver = new ChromeDriver();
InternetExplorerDriver driver = new InternetExplorerDriver();

With Chrome and IE  it works fine, but it throws the following error with firefox:

"The geckodriver.exe file does not exist in the current directory or in a directory on the PATH environment variable"

Why does firefox requires geckoDriver?

May 7, 2018 in Selenium by Damon Salvatore
• 5,980 points
7,080 views

1 answer to this question.

0 votes

Firefox requires GeckoDriver because:

For Mozilla Firefox till version 47, we didn't need geckoDriver. But the Mozilla Firefox after version 47, comes with Marionette, which is an automation driver for Mozilla's  It can remotely control either the UI or the internal JavaScript of a Gecko platform, such as Firefox. So, we require GeckoDriver for FireFox. 

answered May 8, 2018 by Meci Matt
• 9,460 points

Related Questions In Selenium

0 votes
1 answer

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

Hello Sunaina, Gecko driver is required to ...READ MORE

answered Jul 5, 2019 in Selenium by Anvi
• 14,150 points
605 views
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
485 views
0 votes
1 answer

How to use firefox webdriver (geckodriver) in selenium?

Firefox v47+ with selenium 2.53, you need ...READ MORE

answered Jan 8, 2019 in Selenium by Nabarupa
6,989 views
0 votes
1 answer
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
12,617 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
8,572 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,910 points
6,629 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,519 views
0 votes
1 answer

How can I Install Selenium IDE in Firefox

Selenium IDE works with all Firefox versions, ...READ MORE

answered Apr 13, 2018 in Selenium by Meci Matt
• 9,460 points
3,513 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