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.

Tuesday, April 8, 2008

HtmlUnit 2.0 is out

The team is very glad to announce the release of HtmlUnit 2.0, which is an Open Source headless java browser that simulates Internet Explorer and Firefox.


By this release, HtmlUnit has achieved a significant step in the road to fully support AJAX and JavaScript, it now passes all Google Web Toolkit 1.4.60 tests.


Out of various enhancements, the following are the most important:

  1. The codebase migration to Java 5, with heavy usage of generics
  2. Implementation W3C DOM, so it can be used with other libraries
  3. Better XPath support, by switching to Xalan instead of Jaxen
  4. Few incompatible changes, all documented in the changes list
  5. Improved support for incorrect HTML code

It wouldn't have made its way to the light unless contributions are provided particularly by Marc Guillemot and Daniel Gredler, in addition to others.

Monday, March 31, 2008

Why blog

My father used to say: "If you want to virtually live more, talk with people".

I always consider sharing experience, as whenever you ask someone, you will find that he tackled different areas than yours, and you can both benefit from understanding the other points-of-view.

Anyway, I have an exceptional life example that might inspire someone,

For the time being, stay tuned...