frameworks-capybara 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/frameworks-capybara.gemspec +1 -1
- data/lib/frameworks/capybara.rb +3 -3
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.13
|
data/frameworks-capybara.gemspec
CHANGED
data/lib/frameworks/capybara.rb
CHANGED
@@ -17,7 +17,7 @@ class CapybaraSetup
|
|
17
17
|
|
18
18
|
#update :browser value to be a symbol, required for Selenium
|
19
19
|
capybara_opts[:browser] = capybara_opts[:browser].intern
|
20
|
-
|
20
|
+
capybara_opts[:browser_name] = capybara_opts[:browser_name].intern
|
21
21
|
#Disable rack server
|
22
22
|
Capybara.run_server = false
|
23
23
|
|
@@ -52,7 +52,7 @@ class CapybaraSetup
|
|
52
52
|
def register_selenium_driver(opts)
|
53
53
|
Capybara.register_driver :selenium do |app|
|
54
54
|
|
55
|
-
if(opts[:browser] ==
|
55
|
+
if(opts[:browser] == :remote)
|
56
56
|
#create remote driver client instance
|
57
57
|
client = Selenium::WebDriver::Remote::Http::Default.new
|
58
58
|
|
@@ -67,7 +67,7 @@ class CapybaraSetup
|
|
67
67
|
opts[:proxy] = Selenium::WebDriver::Proxy.new(:http => opts[:remote_browser_proxy_url])
|
68
68
|
opts.delete :remote_browser_proxy_url
|
69
69
|
end
|
70
|
-
|
70
|
+
p opts
|
71
71
|
#note, we should probably not be passing all the options to the capabilities, fragile
|
72
72
|
caps = Selenium::WebDriver::Remote::Capabilities.new(opts)
|
73
73
|
#remove options that would have been added to caps
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: frameworks-capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 13
|
10
|
+
version: 0.0.13
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- mcrmfc
|