Sha256: 5b878c9dda51c94b5b26402b074167c0b7001ad01602ce1ef0ab2fc891944c32
Contents?: true
Size: 823 Bytes
Versions: 1
Compression:
Stored size: 823 Bytes
Contents
require 'capybara' require 'selenium-webdriver' require 'capybara/chromedriver/logger/test_hooks' require 'capybara/chromedriver/logger/version' require 'capybara/chromedriver/logger/js_error' require 'capybara/chromedriver/logger/message' require 'capybara/chromedriver/logger/collector' module Capybara module Chromedriver module Logger extend self def filters @filters || [] end def filters=(filters) @filters = filters end def filter_levels @filter_levels || [] end def filter_levels=(filters) @filter_levels = filters && filters.map(&:upcase).map(&:to_s) end def raise_js_errors? !!@raise_js_errors end def raise_js_errors=(value) @raise_js_errors = value end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capybara-chromedriver-logger-0.2.1 | lib/capybara/chromedriver/logger.rb |