homepageJWebUnit is a Java-based testing framework for web applications. It wraps existing testing frameworks such as HtmlUnit and Selenium with a unified, simple testing interface to allow you to quickly test the correctness of your web applications.看下使用吧。下载jar包引入jwebunit-htmlunit-plugin-2.3.jar,jwebunit-core-2.3.jar注意lib里面jar包也要引入例子1(HtmlUnit)package com.test;import net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl;import net.sourcefo.