HtmlUnit 2.1 has been released. HtmlUnit allows high-level manipulation of web pages, such as filling forms, clicking links, accessing attributes and values of specific elements within the pages; you do not have to create lower-level requests of TCP / IP or HTTP, but just getPage (url), find a hyperlink, click () and you have all the HTML, JavaScript, and AJAX are automatically processed.
The most common use of HtmlUnit is test automation of web pages (even with complex JavaScript libraries, like jQuery and Google Web Toolkit), but sometimes it can be used for web scraping, or downloading website content.
The main enhancements:
Improved JavaScript support, now all jQuery and Mochikit tests pass, adding to already supported GWT and Sarissa
Native ActiveX support
Initial applets handling
Support for Internet Explorer conditional comments
And as usual, various bug fixes
Bookmarks