Module: Capybara::Screenshot

Defined in:
lib/snap_diff/legacy_shims.rb,
lib/snap_diff/legacy_shims.rb

Defined Under Namespace

Modules: Diff

Constant Summary collapse

Os =

EAGER same-object alias (see header): the only place it can be eager for a canonical-only require, which is what a half-migrated app has.

SnapDiff::Os

Class Method Summary collapse

Class Method Details

.active?Boolean

Returns:

  • (Boolean)


255
256
257
# File 'lib/snap_diff/legacy_shims.rb', line 255

def active?
  SnapDiff.config.active?
end

.screenshot_areaObject



259
260
261
# File 'lib/snap_diff/legacy_shims.rb', line 259

def screenshot_area
  SnapDiff.config.screenshot_area
end

.screenshot_area_absObject



263
264
265
# File 'lib/snap_diff/legacy_shims.rb', line 263

def screenshot_area_abs
  SnapDiff.config.screenshot_area_abs
end