Selenium Selector Utility for Common Web-Page Testing has the answers.

Selenium is a utility available in most languages to test web-pages. Selenium is able to emulate user input and collect information about the state of the web-page. As a web-page changes organically, Selenium can request web-page state and change input as required to continue a series of automated tests.