Sha256: 396ecad6d97dd9b1c2a52bddb14ab315bc8eeb48e5050e66ada77952bcb49f1f

Contents?: true

Size: 662 Bytes

Versions: 4

Compression:

Stored size: 662 Bytes

Contents

require 'capybara/screenshot/diff/version'
require 'capybara/screenshot/diff/image_compare'
require 'capybara/screenshot/diff/capybara_setup'

module Capybara
  module Screenshot
    mattr_accessor :add_driver_path
    mattr_accessor :add_os_path
    mattr_accessor :blur_active_element
    mattr_accessor :enabled
    mattr_accessor :screenshot_root
    mattr_accessor :stability_time_limit
    mattr_accessor :window_size

    def self.active?
      enabled || (enabled.nil? && Diff.enabled)
    end

    # Module to track screen shot changes
    module Diff
      mattr_accessor :color_distance_limit
      mattr_accessor(:enabled) { true }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capybara-screenshot-diff-0.8.0 lib/capybara/screenshot/diff.rb
capybara-screenshot-diff-0.7.2 lib/capybara/screenshot/diff.rb
capybara-screenshot-diff-0.7.1 lib/capybara/screenshot/diff.rb
capybara-screenshot-diff-0.7.0 lib/capybara/screenshot/diff.rb