Sha256: ee6fd2e86f93b8879c3f417fbcc10e17df9f43084a4f1a89b08411e3e0dec7a0
Contents?: true
Size: 394 Bytes
Versions: 7
Compression:
Stored size: 394 Bytes
Contents
require "capybara/cuprite" Capybara.javascript_driver = :cuprite Capybara.register_driver(:cuprite) do |app| # Set `export INSPECTOR=true` and add `page.driver.debug(binding)` to open a Chrome tab # to debug the browser status. # # See also: https://github.com/rubycdp/cuprite#debugging Capybara::Cuprite::Driver.new(app, window_size: [1920, 1080], inspector: ENV["INSPECTOR"]) end
Version data entries
7 entries across 7 versions & 1 rubygems