Selenium Remote Control is a test tool that allows you to write automated web application UI tests in any programming language against any HTTP website using any mainstream JavaScript-enabled browser.

Selenium Remote Control provides a Selenium Server, which can automatically start/stop/control any supported browser.

To use Selenium from Ruby:

First, install the selenium and rspec gems from rubyforge:

gem install selenium
gem install rspec

Then, download the selenium server and start an instance from a command window:

java -jar selenium-server.jar

Now you are ready to create your first ruby selenium test. Here is a sample script showing how you call Raakt in an rspec test:

require 'spec'
require 'selenium'
require 'raakt'
context 'Test Google' do
  setup do
    @sel ="localhost", 4444, "*iexplore", "", 15000)
  specify'assert start page accessibility' do"")
    raakttest =
    result = raakttest.all
    result.should be([])
  teardown do