cuculungwa 0.0.40 → 0.0.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cuculungwa.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 840b789163910174966de66262de61eb6c77853c
|
4
|
+
data.tar.gz: 3169312be5375d2b4d392158d0d1e1a8a352f3f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b010e4342a4ca2624d099bb3c2aa7c73775f9a9baadd4b0d0969390b898f4e75ea2af071ad628c518ee97f24e6306abe09175faa366e8c880e34a4ae2b53bc56
|
7
|
+
data.tar.gz: 92b1624facc06498a35df579025392a63a65f8e0a6fd8db5c97d6789327e3bd11df547edaa0f223484e9bd4d8e9906339f352b1f83506505a8fee2d7a746e886
|
data/lib/cuculungwa.rb
CHANGED
@@ -41,13 +41,13 @@ elsif config['capybara']['browser']=='seleniumRC'
|
|
41
41
|
require 'selenium-webdriver'
|
42
42
|
client = Selenium::WebDriver::Remote::Http::Default.new
|
43
43
|
client.timeout = ENV['CLIENT_TIMEOUT'] ? ENV['CLIENT_TIMEOUT'].to_i : 60
|
44
|
-
capabilities = Selenium::WebDriver::Remote::Capabilities.
|
44
|
+
capabilities = Selenium::WebDriver::Remote::Capabilities.internet_explorer
|
45
45
|
capabilities[:introduce_flakiness_by_ignoring_security_domains] = true
|
46
46
|
capabilities[:javascript_enabled] = true
|
47
47
|
capabilities[:css_selectors_enabled] = true
|
48
48
|
capabilities[:ignore_protected_mode_settings] = true
|
49
49
|
Capybara.register_driver :selenium do |app|
|
50
|
-
Capybara::Selenium::Driver.new(app, :browser => :remote, :url => "http://10.2.0.143:4444/wd/hub", :
|
50
|
+
Capybara::Selenium::Driver.new(app, :browser => :remote, :url => "http://10.2.0.143:4444/wd/hub", :http_client => client, :desired_capabilities => :capabilities)
|
51
51
|
end
|
52
52
|
Capybara.default_driver = :selenium
|
53
53
|
else
|