This is the code repository of the HtmlUnit to jsoup bride.
The htmlunit-jsoup library provides helper utilities to bridge the gap between HtmlUnit and jsoup. This converter enables seamless integration between HtmlUnit's comprehensive browser simulation capabilities and all the jsoup-based libraries, allowing you to leverage the full ecosystem of jsoup tools while maintaining HtmlUnit's JavaScript execution and dynamic content handling.
❤️ Sponsor
The FlexmarkConverterSample class demonstrates advanced HTML-to-Markdown conversion using the Flexmark library.
HtmlUnit@mastodon | HtmlUnit@bsky | HtmlUnit@Twitter
Latest release Version 4.15.0 / August 17, 2025Add to your pom.xml
:
<dependency> <groupId>org.htmlunit</groupId> <artifactId>htmlunit-jsoup</artifactId> <version>4.15.0</version> </dependency>
Add to your build.gradle
:
implementation group: 'org.htmlunit', name: 'htmlunit-jsoup', version: '4.15.0'
The latest builds are available from our Jenkins CI build server
If you use maven please add:
<dependency>
<groupId>org.htmlunit</groupId>
<artifactId>htmlunit-jsoup</artifactId>
<version>4.16.0-SNAPSHOT</version>
</dependency>
You have to add the Central Portal Snapshots repository to your pom repositories
section also:
<repositories>
<repository>
<name>Central Portal Snapshots</name>
<id>central-portal-snapshots</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
Start HtmlUnit - Jsoup Development
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You simply only need a local maven installation.
Create a local clone of the repository and you are ready to start.
Open a command line window from the root folder of the project and call
Pull Requests and and all other Community Contributions are essential for open source software. Every contribution - from bug reports to feature requests, typos to full new features - are greatly appreciated.
Deployment and VersioningThis part is intended for committer who are packaging a release.
mvn versions:display-plugin-updates
mvn versions:display-dependency-updates
mvn -U clean test
Update the version number in pom.xml and README.md
Commit the changes
Build and deploy the artifacts
Go to Maven Central Portal and process the deploy
Create the version on Github
Update the version number in pom.xml to start next snapshot development
Update the htmlunit pom to use the new release
This project is licensed under the Apache 2.0 License
Many thanks to all of you contributing to HtmlUnit/CSSParser/Rhino in the past.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4