 <p>As Diodeus said, <a href="http://seleniumhq.org/" rel="nofollow">Selenium</a> is probably the most popular browser automation library right now (I believe Facebook uses it). Other frameworks you may wish to investigate:</p> <ul> <li><a href="http://watir.com/" rel="nofollow">Watir</a></li> <li><a href="http://www.getwindmill.com/" rel="nofollow">Windmill</a></li> <li><a href="http://sahi.co.in/w/" rel="nofollow">Sahi</a></li> </ul> <p>In addition, you'll want to consider cross-browser testing when setting up an automated suite of tests. You can roll your own for this, or if you'd rather throw money at the problem, <a href="http://www.browserstack.com/automated-browser-testing-api" rel="nofollow">BrowserStack</a> now offers an API that allows your tests to run on a range of browsers.</p>