Showing posts with label HtmlUnit. Show all posts
Showing posts with label HtmlUnit. Show all posts

Friday, September 4, 2009

HtmlUnit 2.6 is out

It is always a pleasure to announce a new release of HtmlUnit.

The main enhancements of this release:

  • Use cache for all kinds of (cacheable) content

  • Fix many issues with (de)serialization

  • Add a mechanism to save complete page along with images

  • Add support for Proxy Auto-Config

  • Better support for XHTML pages

  • And as usual, various bug fixes

You can download it here, enjoy!

Sunday, June 21, 2009

HtmlUnit now supports Proxy Auto-Config

A previously requested feature, Proxy Auto-Config, is now supported in the latest snapshot of HtmlUnit.

As testing requires proxy server with related configurations, the team appreciates testing the feature in the wild.

You can get latest snapshot from here.

The typical usage is webClient.getProxyConfig().setProxyAutoConfigUrl("http://proxy_auto_config.url");

As always, enjoy!

Thursday, June 11, 2009

2009 JavaOne HtmlUnit technical session online content

2009 JavaOne conference website now has the online version of the technical session "HtmlUnit: An Efficient Approach to Testing Web Applications TS-4238", which was presented by Daniel Gredler and I.

You can view the PDF presentation here.

Wednesday, December 31, 2008

HtmlUnit 2.4 is out

Happy New Year everyone!

The new release of the GUI-Less java browser is available, which 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, such as jQuery or Google Web Toolkit), but sometimes it can be used for web scraping, or downloading website content.

The main enhancements in this release:
  • Improved JavaScript support, now all jQuery and Mochikit tests pass, adding to already supported GWT and Sarissa
  • Native ActiveX support
  • Initial applet handling
  • Internet Explorer conditional comments
  • As usual, various bug fixes, three were reported by GWT users

You can find more information in the official website, the development team is looking forward to getting your feedback.