HtmlUnit / News: Recent posts

OSGi bundle

Hi all,

Starting from 2.11, an OSGi bundle is part of the release files.

You can get it from:
https://sourceforge.net/projects/htmlunit/files/htmlunit/2.11/

As always: enjoy!

HtmlUnit team

Posted by Ahmed Ashour 2013-01-07

2009 JavaOne HtmlUnit technical session online content

HtmlUnit is a pure java GUI-Less browser, 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, but sometimes it can be used for web scraping, or downloading website content.

2009 JavaOne conference website now has the online version of the technical session "HtmlUnit: An Efficient Approach to Testing Web Applications
TS-4238"... read more

Posted by Ahmed Ashour 2009-06-11

HtmlUnit 2.5, a headless java browser, released

A 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, like jQuery and Google Web Toolkit), but sometimes it can be used for web scraping, or downloading website content.

The main enhancements of this release:
- Improved JavaScript support, particularly full support for MooTools, adding to already supported Google Web Toolkit, jQuery, Mochikit and Sarissa
- Repackaged Rhino classes to allow the use of HtmlUnit and a regular Rhino version in the same project
- Support all HTML elements
- Experimental WebClient.waitForBackgroundJavaScript() and WebClient.waitForBackgroundJavaScriptStartingBefore() for simple, fast and deterministic AJAX testing
- Reworked handling of background JavaScript tasks using Java 5 executors
- And as usual, various bug fixes

You can find more information in the official website (http://htmlunit.sourceforge.net/), the development team is looking forward to getting your feedback.

Posted by Ahmed Ashour 2009-04-21

HtmlUnit in JavaOne

HtmlUnit is a pure java GUI-Less browser, 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, but sometimes it can be used for web scraping, or downloading website content.... read more

Posted by Ahmed Ashour 2009-03-23

HtmlUnit: implementation charts of the latest snapshot

HtmlUnit is a pure java GUI-Less browser, 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, but sometimes it can be used for web scraping, or downloading website content.... read more

Posted by Ahmed Ashour 2009-01-26

HtmlUnit: All HTML elements are now included in HtmlUnit

HtmlUnit is a "browser for Java programs". It models HTML documents and provides an API that allows you to invoke pages, fill out forms, click links, etc... just like you do in your "normal" browser.

In SVN version, HtmlUnit has recently added all HTML elements (some are rarely used), which may have some backward compatibility effect in the next version 2.5

For example, <b> was evaluated to HtmlUnknownElement, but now will be HtmlBold.... read more

Posted by Ahmed Ashour 2009-01-09

Two sessions in TheServerSide Java Symposium

It is now official, HtmlUnit will be in two sessions in the TheServerSide Java Symposium this year.

Marc Guillemot and Daniel Gredler are going to co-present "HtmlUnit: An Efficient Approach to Testing Web Applications", which will teach you:
- How to efficiently automate the testing of Web apps with HtmlUnit
- The benefits and limitations of HtmlUnit
- Why HtmlUnit can be far more efficient than testing in a "real" browser. ... read more

Posted by Ahmed Ashour 2009-01-04

HtmlUnit 2.4, a headless java browser, released

A 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.... read more

Posted by Ahmed Ashour 2008-12-31

HtmlUnit-1.1 final released

This is the first official release with JavaScript support. Because adding a reasonable level of JavaScript support was such a large effort, this release has been a long time coming. Future releases will likely contain smaller chunks of functionality and will therefore be released more frequently.

Posted by Mike Bowler 2002-11-25

HtmlUnit-1.1-rc2 released

The second release candidate for HtmlUnit-1.1 has been released.

Posted by Mike Bowler 2002-11-17