Sha256: 4f2405bff09a41aea6a1ba0f2196a10350bdac161b6f85ffbfe181f5e702feac
Contents?: true
Size: 499 Bytes
Versions: 1
Compression:
Stored size: 499 Bytes
Contents
require 'rubygems' require '../lib/watirgrid' browsers = Watir::Grid.new(:ring_server_port => 12358, :ring_server_host => '192.168.1.122', :loglevel => Logger::DEBUG) @browsers = browsers.start(:quantity => 2, :read_all => true) threads = [] @browsers.each do |browser| threads << Thread.new do b = browser[:object].new_browser b.goto("http://www.google.com") b.text_field(:name, 'q').set("watirgrid") b.button(:name, "btnI").click end end threads.each {|thread| thread.join}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watirgrid-0.0.3 | examples/simple.rb |