HtmlUnitDriver | Selenium Forum
M
Posted on 20/07/2016
I'm trying to use HTMLunitdriver .
I have written

WebDriver driver = new HtmlUnitDriver();

All the jar files are added in the buildpath, but I'm getting the error "HTMLunit driver cannot be resolved to a type".

M
Replied on 21/07/2016

add this to your library

https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-htmlunit-driver