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,320 points
792 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,500 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 8, 2018 in Selenium by Meci Matt
• 9,460 points
894 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,150 points
4,258 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
• 28,140 points
40,877 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,150 points
983 views
0 votes
1 answer

How do we use assert() in Selenium WebDriver?

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

answered Apr 6, 2018 in Selenium by nsv999
• 5,500 points
11,118 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
• 28,140 points
1,197 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