Sha256: 199d5b8d7c2b1af41c34ddb525d3b847076decb403a7fc66db333ec2b76693a6
Contents?: true
Size: 547 Bytes
Versions: 2
Compression:
Stored size: 547 Bytes
Contents
require 'grid' require 'bacon' describe 'A simple specification' do before 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 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/bacon/bacon.rb |
grid-0.4.2 | examples/bacon/bacon.rb |