Skip to content

Instantly share code, notes, and snippets.

@moutten
Created February 24, 2010 20:44
Show Gist options
  • Select an option

  • Save moutten/313827 to your computer and use it in GitHub Desktop.

Select an option

Save moutten/313827 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'rubygems'
require 'webrat'
Webrat.configuration.mode = :selenium
selenium = Webrat::Selenium::SeleniumRCServer.new
puts "java -jar "+selenium.jar_path+" -singleWindow"
system("java -jar "+selenium.jar_path+" -singleWindow")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment