require 'grid' require 'test/unit' class SimpleTest < Test::Unit::TestCase def setup options = {} options[:controller_uri] = "druby://10.0.1.3:11235" options[:browser_type] = 'webdriver' options[:browser] = 'chrome' options[:loglevel] = Logger::DEBUG @grid = Grid.new(options) @grid.setup end def teardown @grid.teardown end def test_google @grid.iterate do |browser| browser.goto "altentee.com" assert_match /Automation Company/, browser.title end end end