lib/tr4n5l4te/agent.rb in tr4n5l4te-0.1.13 vs lib/tr4n5l4te/agent.rb in tr4n5l4te-0.1.14
- old
+ new
@@ -8,10 +8,10 @@
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(
app,
js_errors: false,
timeout: Tr4n5l4te.configuration.timeout,
- phantomjs_options: ['--load-images=no', '--ignore-ssl-errors=yes', '--web-security=false'],
+ phantomjs_options: ['--load-images=no', '--ignore-ssl-errors=yes', '--web-security=false', '--ssl-protocol=any'],
phantomjs_logger: StringIO.new,
logger: StringIO.new
)
end
Capybara.default_driver = :poltergeist