htmlunit

A headless browser intended for use in testing web-based applications.