Floyd is a Java library intended to make the automated testing of web applications easier. To this end, it provides full control of standard web browsers such as Mozilla and Internet Explorer to normal Java unit tests. The browser the interaction with the browser and any loaded web pages is achieved via calls to Floyd's Java API. This allows to simulate user interaction with a real live web browser.
For Java web applications, it is also possible to use an embedded web server which gives additional testing possibilities such as access to the sessions on the server, and to http requests and responses.
Floyd does not itself extend JUnit's test classes, so it can be used with any unit test library, for instance with JUnit or TestNG.
These are the original slides and tutorial materials from ApacheCon US 2005 covering an earlier stage of Floyd, then still under the name webappunit: Slides, and Tutorial materials