Google Chrome has a ChromeDriver
available here. I cannot find the equivalent for Firefox. (Which I think is necessary to make ActionChains
working.)
WebDriver is an interface that is available in Selenium jar files. driver is webDriver reference variable. New is a keyword, we use to create an instance of the class. And, FireFoxDriver() is a class already existing in Selenium. So, you can import it and start using it for your test.
Step 1: Navigate to the official Selenium website. Under third-party drivers, one will find all the drivers. Just click on the Mozilla GeckoDriver documentation as shown below. Now, it will navigate to the GeckoDriver downloads link, where one can download the suitable driver based on the OS as it is platform agnostic.
Firefox Driver comes with Selenium/Webdriver itself. No need to launch an external server (like Chromedriver). It is all built-in.
http://code.google.com/p/selenium/wiki/FirefoxDriver
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With