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,210 points
37 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,030 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
37 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 4 days ago in Selenium by Anvi
• 5,880 points
5 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,030 points
797 views
0 votes
1 answer

How is Maven used with Selenium? Does it also do the testing?

You need to understand the basic processes ...READ MORE

answered Apr 13, 2018 in Selenium by king_kenny
• 3,590 points
199 views
0 votes
1 answer
0 votes
1 answer

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,030 points
59 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,030 points
1,893 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,030 points
117 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.