Selenium is a suite of tools to automate web browser testing. It supports Selenium IDE for recording tests in Firefox, Selenium RC for running tests in multiple browsers, and Selenium WebDriver for communicating directly with browser drivers. When integrating Selenium with Drupal, the DrupalSeleniumWebTestCase class and API can be used to write tests that log in, access pages, and interact with elements. Tests are run via PHPUnit on a headless server like Xvfb to avoid showing a GUI.
Related topics: