Sha256: 239ec0a61058c9832d4959d2c0a8f17223410273b3a4bfae3e9b9856b454977c
Contents?: true
Size: 543 Bytes
Versions: 2
Compression:
Stored size: 543 Bytes
Contents
require 'grid' describe 'A simple specification' do before(:all) do 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 after(:all) do @grid.teardown end it "should do a search on Google" do @grid.iterate do |browser| browser.goto "altentee.com" browser.title.should =~ /Automation Company/ end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
grid-0.4.3 | examples/rspec/basic_spec.rb |
grid-0.4.2 | examples/rspec/basic_spec.rb |