How do we use Gecko driver.exe with Selenium?

0 votes
Itseems with Selenium v3, we need to use Geckodriver for FF testing. Can someone tell me how to do it in my code?
Apr 7, 2018 in Selenium by Martin
• 4,340 points
145 views

1 answer to this question.

0 votes

Recently Selenium launched v3 and if you want to test with FF, then you have to use GeckoDriver like this:

System.setProperty("webdriver.gecko.driver","Path to geckodriver.exe");
WebDriver driver = new FirefoxDriver();

No need to set any desiredCapabilities().

answered Apr 7, 2018 by nsv999
• 5,510 points

Related Questions In Selenium

0 votes
1 answer

How can we use Selenium with Python?

First  Install Python based on the Operating ...READ MORE

answered May 7, 2018 in Selenium by Meci Matt
• 9,460 points
162 views
0 votes
1 answer

How can I use HTML Unit Driver as a headless browser with Selenium?

Hello @Nishant, follow these steps to use ...READ MORE

answered May 17, 2019 in Selenium by Anvi
• 14,110 points
1,905 views
0 votes
1 answer

How can I download Microsoft WebDriver/Edge Driver to use with Selenium?

Hi William, to download Microsoft Webdriver or ...READ MORE

answered Jul 15, 2019 in Selenium by Abha
• 27,930 points
11,099 views
0 votes
1 answer
0 votes
1 answer
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,110 points
205 views
0 votes
1 answer

How do we use assert() in Selenium WebDriver?

So, for implementing Assert(), you need to ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,510 points
8,622 views
0 votes
2 answers

How to use Selenium with Python?

Hey Shubham, you can checkout this thread ...READ MORE

answered Aug 26, 2019 in Selenium by Abha
• 27,930 points
280 views