HtmlUnit : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

HtmlUnit

HtmlUnit is a GUI-Less browser for Java programs. It models HTML (Hypertext Markup Language) documents and provides an API (Application Programming Interface) that allows you to invoke pages, fill out forms, click links, etc. just like you do in your normal browser. It has fairly good JavaScript support (which is constantly improving) and is able to work even with quite complex AJAX (Asynchronous JavaScript And Xml) libraries, simulating either Firefox or Internet Explorer depending on the configuration you want to use. It is typically used for testing purposes or to retrieve information from web sites.

The main downside is, just to compile an application that uses HtmlUnit, you need to about 20 supporting jars from diverse sources and put them on the classpath. You need even more to run tests. The authors jerk you around by suggesting you must collect all these jars individually from myriad websites. You don’t. The jars are all included in the htmlunit download.


This page is posted
on the web at:

http://mindprod.com/jgloss/htmlunit.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\htmlunit.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.235.46.191]
You are visitor number