You can use different mechanisms to test out the website and its UI components.<p>I have worked with Splinter(which is a python based testing framework) and CasperJS(JS based framework) and both of them works fine.<p>With Splinter you can test out your website not only in headless browsers but with normal browsers as well. It has selenium plugin as well.
Have a look at <a href="http://docs.seleniumhq.org/projects/ide/" rel="nofollow">http://docs.seleniumhq.org/projects/ide/</a><p>It has firefox extension as well.<p><a href="https://addons.mozilla.org/en-US/firefox/addon/selenium-expert-selenium-ide/" rel="nofollow">https://addons.mozilla.org/en-US/firefox/addon/selenium-expe...</a>