rwebspec 6.2.1 → 6.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -0
- data/Rakefile +1 -1
- data/lib/rwebspec-webdriver/web_browser.rb +10 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a27ff4db30042834d077b719eae1c77a1603ea85
|
4
|
+
data.tar.gz: 42ccba45e64076a1331a0a7ce4fb46f3c7d1227f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53013c743df21ca5411243e407cce857bb952c3e4a3c924d9ac27d89635173adca6be5e05c94e023bd059fc35f6450eb9de6b3640e25b596deb00d29e5ec1d9f
|
7
|
+
data.tar.gz: 25672e0dee89b391a2173b6e0caa21cbbbabc09c0936d91798d4175bde6f8bef1cdfbd4143de9cfc5f9334101aeabf117c8cfbe191e8b32c3a33f2d84e2fc02b
|
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -77,7 +77,7 @@ end
|
|
77
77
|
spec = Gem::Specification.new do |s|
|
78
78
|
s.platform= Gem::Platform::RUBY
|
79
79
|
s.name = "rwebspec"
|
80
|
-
s.version = "6.2.
|
80
|
+
s.version = "6.2.2"
|
81
81
|
s.summary = "Web application functional specification in Ruby"
|
82
82
|
s.description = "Executable functional specification for web applications in RSpec syntax with Watir or Selenium WebDriver"
|
83
83
|
|
@@ -57,7 +57,11 @@ module RWebSpec
|
|
57
57
|
return
|
58
58
|
end
|
59
59
|
|
60
|
-
|
60
|
+
if options[:profile]
|
61
|
+
@browser = Selenium::WebDriver.for :firefox, :profile => options[:profile]
|
62
|
+
else
|
63
|
+
@browser = Selenium::WebDriver.for :firefox
|
64
|
+
end
|
61
65
|
@browser.navigate.to base_url
|
62
66
|
end
|
63
67
|
|
@@ -67,7 +71,11 @@ module RWebSpec
|
|
67
71
|
return
|
68
72
|
end
|
69
73
|
|
70
|
-
|
74
|
+
if options[:prefs]
|
75
|
+
@browser = Selenium::WebDriver.for :chrome, :prefs => options[:prefs]
|
76
|
+
else
|
77
|
+
@browser = Selenium::WebDriver.for :chrome
|
78
|
+
end
|
71
79
|
@browser.navigate.to base_url
|
72
80
|
end
|
73
81
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rwebspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.2.
|
4
|
+
version: 6.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zhimin Zhan
|
8
8
|
autorequire: rwebspec
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|