Debugging Web Applications with Selenium
Selenium
Selenium is an open-source web application testing system that records and generates testing scripts that can be used for debugging purposes.
Selenium IDE is a Mozilla Firefox plugin that enables users to easily create testing scripts by directly recording user interactions with the web application.

Commands are recorded as they happen, and are listed in the table. You can also go back and edit commands if you want to change anything later.
Additional commands like captureEntirePageScreenshot that can be inserted between commands at critical points where a screenshot would be helpful.