HtmlUnit Android

A port of HtmlUnit to Android (currently based on HtmlUnit 2.30)



  1. Add the following to your build.gradle:
    implementation 'xyz.nulldev.huandroid:huandroid:2.30.01'
  2. Check out for code examples. The usage for HtmlUnit Android is exactly the same as the usage for the original version of HtmlUnit!

How did you do this?

You can find a log of all the changes I performed to the original HtmlUnit source code in

Note that it does not include any of the shim classes I added


My changes are license under HtmlUnit's license: The Apache License, Version 2.0

Some of the shim code is licensed differently, including but not limited to: