HtmlUnit

HtmlUnit

Infobox Software
name = HtmlUnit



caption =
developer = Gargoyle Software
released = initial release|2002|05|22
latest release version = 2.3
latest release date = release date|2008|09|16
programming language = Java
operating system = Cross-platform (JVM)
platform =
language = English
genre = Web browser
license = Apache License 2.0
website = [http://htmlunit.sourceforge.net/ htmlunit.sourceforge.net]

HtmlUnit is a pure Java headless web browser, which allows high-level manipulation of web pages, such as filling forms, clicking hyperlinks, 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, for instance Google Web Toolkit 1.5 tests now pass), but sometimes it can be used for web scraping, or downloading website content.

Version 2.0 includes many new enhancements such as W3C DOM implementation, Java 5 features, better XPath support, and improved handling for incorrect HTML, in addition to the usual JavaScript various enhancements, while version 2.1 mainly focuses on tuning some performance issues reported by users.

External links

* [http://htmlunit.sourceforge.net/ HtmlUnit]

.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • HtmlUnit — Archivo:Htmlunit logo.png ? Información general Última versión estable 2.8 2010 de agosto de 05; hace 1 año (05 08 2010) …   Wikipedia Español

  • HttpUnit — is an open source software testing framework used to perform testing of web sites without the need for a web browser. HttpUnit supports HTML form submission, JavaScript, HTTP basic access authentication, automatic page redirection, and cookies.… …   Wikipedia

  • Selenium (software) — Selenium is a portable software testing framework for web applications. The tests can be written as HTML tables or coded in a number of popular programming languages and can be run directly in most modern web browsers. Selenium can be deployed on …   Wikipedia

  • Selenium — Entwickler ThoughtWorks Aktuelle Version 2.11.0 (28. Oktober 2011) Betriebssystem Microsoft Windows, Linux, Mac OS X, Solaris, FreeBSD und andere Unix Varianten (basiert auf …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”