Sha256: 09d05f3756984ad97f59dc15e5bb934804014c50df2df20fa06f3f961039c7f6
Contents?: true
Size: 539 Bytes
Versions: 1
Compression:
Stored size: 539 Bytes
Contents
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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grid-0.4.2 | examples/testunit/basic_test.rb |