htmlunit 是一款开源的java 页面分析工具,读取页面后,可以有效的使用htmlunit分析页面上的内容。项目可以模拟浏览器运行,被誉为java浏览器的开源实现。是一个没有界面的浏览器,运行速度迅速。是junit的扩展之一
You can download a stable version of HtmlUnit 1.2.3 from SourceForge.
您可以从SourceForge下载稳定的HtmlUnit 1.2.3版本。
Before you set up the test, you need to have at a minimum the HtmlUnit binary JAR file.
在您开始测试之前,需要有一个最小化的htmlunit二进制jar文件。
HtmlUnit models the returned document as HTML, so that you can deal with the document directly.
HtmlUnit将返回文档模拟成HTML,这样您便可以直接处理这些文档了。
应用推荐