I have the following problem.
I have a website where the Login is Via a Link that has the href: SubmitLogin().
I'm trying to use webdriver in the form of PageFactories.
I have this method:
As you can see I also tried executing the script directly, but it's no good.
WebDriver webDriver = new HtmlUnitDriver(true);
In the log I can't see any problems. The two fields are set correctly, it finds all the necessary elements it just does nothing. :(
There is no error on the Page.
I want to use HtmlUnitDriver because this will be running on a desktop less build machine.
Additional Information: It's HTTPS. And also, FirefoxDriver with custom profile handles it just fine. I just would like to use HtmlUnitDriver...
Any ideas? :S