Sahi is an automation and testing tool for web applications, with the facility to record and playback scripts. Developed in java and javascript, this tool uses simple javascript to execute events on the browser.
Its features include in-browser controls, intelligent recorder, text based scripts, ant and command line support for playback of suites of tests, multi threaded playback, HTTP and HTTPS support, and excellent AJAX support.