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,220 points
74 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,110 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,420 points
75 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 in Selenium by Anvi
• 13,960 points
285 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 in Selenium by Abha
• 27,180 points
759 views
0 votes
1 answer
0 votes
1 answer
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,110 points
4,395 views
0 votes
2 answers

How to use Selenium with Python?

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

answered Aug 26 in Selenium by Abha
• 27,180 points
175 views