What is HtmlUnit? Facts and alternatives
htmlunit.sourceforge.io
HtmlUnit (sourceforge.io) is a headless browser written in Java. It loads pages, fills forms, clicks links and runs JavaScript, to test sites or pull data.
Visit htmlunit.sourceforge.io ↗Code on GitHub ↗
What it is
| Product | Category | Price | Rating |
|---|---|---|---|
| HtmlUnit: A headless browser written in Java. It loads pages, fills forms, clicks links and runs JavaScript, to test sites or pull data. Good for: Java developers who need a browser without a screen for tests or for reading data from websites. | Browser automation 31 | Freeopen source | 50 6 facts |
6 facts, each linked to its page. Category: tools we compare. Rating: our formula.
Facts
Spec facts 6 · 9 not listed yet
| How you use it 2 | |
|---|---|
| Other official libraries | JavaJava library itself, not an SDK |
| Ready-made integrations | WebDriver, Arquillian Drone, Serenity BDDTools that use HtmlUnit as their browser |
| Where it runs 2 | |
| Can I host it myself? | YesJava library you run in your own app |
| Code licence | Apache-2.0 |
| Code 2 | |
| Written in | Java |
| Latest release | 5.7.0, 02 Novyear not shown on page |
9 spec facts not listed on the company's pages yet. Seen one? Send us a source.
Who says what
What HtmlUnit says about itself
We found no page where HtmlUnit sums itself up.
What HtmlUnit says about others
No claims by HtmlUnit about others yet.
What others say about HtmlUnit
Features 7
| Who | Main claim | Source |
|---|---|---|
| HtmlUnit can invoke pages, fill forms, click links, manage cookies, and support many AJAX workflows.“It can invoke pages, fill forms, click links, manage cookies, and provide JavaScript support for many AJAX workflows” | ||
| HtmlUnit is not a full replacement for Chrome, Firefox, or WebKit.“HtmlUnit is not a full replacement for Chrome, Firefox, or WebKit.” | ||
| HTMLUnit is a GUI-less browser for the Java ecosystem.“is a GUI-less browser for the Java ecosystem.” | ||
| HtmlUnit simulates a browser in Java, executes JavaScript without an external browser binary, and handles cookies and sessions.“It is a headless browser that simulates a browser in Java, executes JavaScript without needing an external browser binary, and handles cookies and sessions.” | ||
| HtmlUnit runs JavaScript through Rhino rather than Chromium, so it does not use a real browser engine.“Keep in mind that HtmlUnit runs JavaScript through Rhino, so it doesn't use Chromium.” | ||
| HtmlUnit does not support IP rotation, so rate-limited sites can block it.“HtmlUnit does not support IP rotation, making it vulnerable to IP blocking if a website implements rate limiting.” | ||
| HtmlUnit is a Java-only headless browser with full JavaScript rendering, and no screenshot support.“HtmlUnit supports full-scale JavaScript rendering.” | ||
These are the companies' own claims, each linked to its page. A company name opens both sides.