Simple quickstart project to run Selenium on Windows 10 using multiple browsers!
Tested on
- Windows 10 Pro 64bit (Build 10586.420)
- Java binding
- Java 8 (JDK 1.8.0_66)
- Maven 3.3.3
- Selenium 2.48.2
- TestNG 6.9.9
- Browsers
- Chrome 51 with Chromedriver 2.22
- Firefox 46
- HtmlUnit 2.18
- Edge 25 with MicrosoftWebDriver 10586
- Opera 38 with Operadriver 0.2.2
From Firefox 47 the FirefoxDriver
is discontinued. The new Marionette
driver is not officially released yet.
You can read more on StackOverflow: Selenium 2.53 not working on Firefox 47,
Firefox 47.0 to crash on startup selenium webdriver;
and on MDN.
Clone this repository into your local machine
git clone https://github.com/darugnaa/selenium-windows-quickstart.git
cd selenium-windows-quickstart
start .
Download drivers for Chrome, IE and Opera. Unzip them into a folder, for example C:\Users\you\drivers\
.
Edit the Java project pom.xml and add the full path in the <properties>
section.
cd SeleniumWindowsJava
mvn clean verify