commons-htmlunit

Common HtmlUnit utility methods that I find useful in various projects

BSD-2-CLAUSE License

Stars
2
Committers
1

This is a small library of helpers that I find useful in projects where I use HtmlUnit.

It covers areas that I miss in the library itself.

Contents

Here an (incomplete) list of bits and pieces in this lib:

  • HtmlUnitUtils - Helper methods to create a WebClient and to fetch HTML-items from a page
  • WebPageFileCache - A simple cache for web-pages to avoid fetching the same content again and again.

Use it

Gradle

compile 'org.dstadler:commons-htmlunit:1.+'

Change it

Grab it

git clone https://github.com/centic9/commons-htmlunit.git

Build it and run tests

cd commons-htmlunit
./gradlew check jacocoTestReport

Release it

./gradlew --console=plain release && ./gradlew closeAndReleaseRepository
  • This should automatically release the new version on MavenCentral
  • Afterwards go to the Github releases page and add release-notes

Support this project

If you find this library useful and would like to support it, you can Sponsor the author

Licensing