Drupal Selenium tests API

This article is followup of the previous two Selenium testing in Drupal and Run Selenium tests in Drupal on Debian headless. I strongly recommend to read these two articles (at least watch demo videos) before reading more technical explanation below.

Now is the time to explain how to write tests using Selenium in simpletest.

Selenium testing in Drupal

After attending our local SeleniumCamp ( in February this year I found very interesting possibilities for testing web applications. This topic I would like to share my thoughts about how to use Selenium framework to improve test coverage of our drupal sites.