awetestlib 0.1.26-x86-mingw32 → 0.1.27-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/awetestlib/regression/browser.rb +3 -8
- data/lib/version.rb +1 -1
- metadata +3 -3
@@ -87,19 +87,14 @@ module Awetestlib
|
|
87
87
|
# @return [Watir::Browser, Firewatir::Browser]
|
88
88
|
# Returns Firewatir::Browser if target browser is Firefox version less than 4.0
|
89
89
|
def open_ff_for_version(version = @targetVersion)
|
90
|
-
|
91
|
-
browser = open_ff
|
92
|
-
else
|
93
|
-
browser = Watir::Browser.new(:firefox)
|
94
|
-
end
|
95
|
-
browser
|
90
|
+
browser = Watir::Browser.new :firefox
|
96
91
|
end
|
97
92
|
|
98
93
|
# Open FF (Firefox) browser instance under FireWatir.
|
99
94
|
# @return [Firewatir::Browser]
|
100
95
|
def open_ff
|
101
|
-
Watir::Browser.default = 'firefox'
|
102
|
-
browser = Watir::Browser.new
|
96
|
+
# Watir::Browser.default = 'firefox'
|
97
|
+
browser = Watir::Browser.new :firefox
|
103
98
|
end
|
104
99
|
|
105
100
|
# Open GC (Google Chrome) browser instance.
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awetestlib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 45
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 27
|
10
|
+
version: 0.1.27
|
11
11
|
platform: x86-mingw32
|
12
12
|
authors:
|
13
13
|
- Anthony Woo
|