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
42 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,050 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,400 points
44 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
• 9,830 points
29 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 19 hours ago in Selenium by Abha
• 15,320 points
7 views
0 votes
1 answer

How do i change the location where my file gets downloaded in Selenium Webdriver and firefox driver?

There are a couple of errors there. ...READ MORE

answered Apr 12, 2018 in Selenium by nsv999
• 5,050 points
1,195 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,050 points
2,781 views
0 votes
1 answer

How to use Selenium with Python?

There are many resources for selenium - ...READ MORE

answered Mar 30, 2018 in Selenium by nsv999
• 5,050 points
135 views