Watij or Web Application Testing in Java is a testing project that is based on the design of Watir, but implemented in Java. Watij automates funtional testing of web applications through IE.
Watij supports XPath expressions for finding HTML elements on a page and manages popup browser windows by intercepting them and making them available for interaction.