lib/tr4n5l4te/agent.rb in tr4n5l4te-0.1.4 vs lib/tr4n5l4te/agent.rb in tr4n5l4te-0.1.5
- old
+ new
@@ -5,10 +5,11 @@
module Tr4n5l4te
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(
app,
js_errors: false,
- timeout: Tr4n5l4te.configuration.timeout
+ timeout: Tr4n5l4te.configuration.timeout,
+ phantomjs_options: ['--load-images=no']
)
end
Capybara.default_driver = :poltergeist
Capybara.javascript_driver = :poltergeist