I'm looking for a pure Java html client library. I need to retrieve html forms, fill the fields and submit them programmatically.
The library should connect to a website acting as a browser, handling cookies, parsing the document's forms and resolving the form submit hassle on its own.
In the past I used Apache HttpClient, but it wasn't simple enough as I was responsible for parsing the document and handle the cookies.