grid 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/grid.gemspec +1 -1
- data/lib/grid.rb +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.6
|
data/grid.gemspec
CHANGED
data/lib/grid.rb
CHANGED
@@ -20,7 +20,7 @@ class Grid
|
|
20
20
|
log.level = params[:loglevel] || Logger::DEBUG
|
21
21
|
grid = Watir::Grid.new(params)
|
22
22
|
grid.start(:take_all => true)
|
23
|
-
webdriver_browser_type = ask('Which type of browser?') { |q| q.default = "firefox" } unless params[:browser]
|
23
|
+
@webdriver_browser_type = ask('Which type of browser?') { |q| q.default = "firefox" } unless params[:browser]
|
24
24
|
log.debug("Grid size : #{grid.size}")
|
25
25
|
log.debug("Grid rampup : #{rampup(grid.size, params)} secs")
|
26
26
|
threads = []
|
@@ -34,7 +34,7 @@ class Grid
|
|
34
34
|
log.debug("Browser #{index+1}##{Thread.current.object_id} type : #{browser[:browser_type]}")
|
35
35
|
log.debug("Browser #{index+1}##{Thread.current.object_id} hostname : #{browser[:hostname]}")
|
36
36
|
if browser[:browser_type] =~ /webdriver/
|
37
|
-
@browser = browser[:object].new_browser(webdriver_browser_type.to_sym)
|
37
|
+
@browser = browser[:object].new_browser(@webdriver_browser_type.to_sym)
|
38
38
|
else
|
39
39
|
@browser = browser[:object].new_browser
|
40
40
|
end
|
metadata
CHANGED