Module: Capybara::Screenshot::Diff
- Defined in:
- lib/capybara_screenshot_diff.rb,
lib/capybara/screenshot/diff/vcs.rb,
lib/capybara/screenshot/diff/utils.rb,
lib/capybara/screenshot/diff/drivers.rb,
lib/capybara/screenshot/diff/version.rb,
lib/capybara/screenshot/diff/comparison.rb,
lib/capybara/screenshot/diff/difference.rb,
lib/capybara/screenshot/diff/test_methods.rb,
lib/capybara/screenshot/diff/image_compare.rb,
lib/capybara/screenshot/diff/area_calculator.rb,
lib/capybara/screenshot/diff/reporters/default.rb,
lib/capybara/screenshot/diff/screenshot_matcher.rb,
lib/capybara/screenshot/diff/drivers/base_driver.rb,
lib/capybara/screenshot/diff/drivers/vips_driver.rb,
lib/capybara/screenshot/diff/stable_screenshoter.rb,
lib/capybara/screenshot/diff/drivers/chunky_png_driver.rb
Overview
Module to track screen shot changes
Defined Under Namespace
Modules: Drivers, Reporters, TestMethods, Utils, Vcs Classes: AreaCalculator, Comparison, Difference, ImageCompare, ScreenshotMatcher, StableScreenshoter
Constant Summary collapse
- AVAILABLE_DRIVERS =
Utils.detect_available_drivers.freeze
- VERSION =
"1.9.2"
- LOADED_DRIVERS =
{}
Class Method Summary collapse
Class Method Details
.default_options ⇒ Object
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/capybara_screenshot_diff.rb', line 70 def self. { area_size_limit: area_size_limit, color_distance_limit: color_distance_limit, driver: driver, screenshot_format: Screenshot.screenshot_format, capybara_screenshot_options: Screenshot., shift_distance_limit: shift_distance_limit, skip_area: skip_area, stability_time_limit: Screenshot.stability_time_limit, tolerance: tolerance || ((driver == :vips) ? 0.001 : nil), wait: Capybara.default_max_wait_time } end |