I'm trying to use HTMLunitdriver in eclipse.
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".
Can anyone provide any pointers on this?