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