bin/grid in grid-0.3.1 vs bin/grid in grid-0.3.3
- old
+ new
@@ -37,10 +37,14 @@
end
opts.on("-u", "--uri URI", String,
"Optional URI of the Gridinit API, default http://gridin.it/api/v0") do |u|
options[:uri] = u || nil
end
+ opts.on("-a", "--api API", String,
+ "Specify the Watir API to use, default webdriver [watir, firewatir, webdriver_performance]}") do |a|
+ options[:api] = b || 'webdriver'
+ end
opts.on_tail("-h", "--help", "Show this message") do
puts opts
exit
end
@@ -50,8 +54,9 @@
:grid_id => options[:grid_id],
:token => options[:token],
:email => options[:email],
:password => options[:password],
:uri => options[:uri],
+ :api => options[:api],
:args => ARGV
)
helper.send(ARGV[0])