Sha256: 0f9c76b3882904cf16ccba1c5eb5b891716849031872080802ec75e47fd46676
Contents?: true
Size: 530 Bytes
Versions: 3
Compression:
Stored size: 530 Bytes
Contents
# frozen_string_literal: true require 'capybara/poltergeist' Capybara.asset_host = ENV['ASSET_HOST'] Capybara.always_include_port = true Capybara.register_driver :poltergeist do |app| options = { timeout: 60, js_errors: false, phantomjs: Phantomjs.path, phantomjs_logger: File.open(File::NULL, 'w'), logger: nil, phantomjs_options: [ '--load-images=no', '--ignore-ssl-errors=yes' ] } Capybara::Poltergeist::Driver.new(app, options) end Capybara.javascript_driver = :poltergeist
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
underlay-2.0 | templates/capybara.rb |
underlay-1.52.1 | templates/capybara.rb |
underlay-1.50.1 | templates/capybara.rb |