class DotDiff::Comparible::PageComparer
Public Instance Methods
new_image_path()
click to toggle source
# File lib/dotdiff/comparible/page_comparer.rb, line 17 def new_image_path snapshot.fullscreen_file end
run()
click to toggle source
# File lib/dotdiff/comparible/page_comparer.rb, line 6 def run snapshot.capture_from_browser(true) if !File.exist?(snapshot.basefile) snapshot.resave_fullscreen_file [true, snapshot.basefile] else compare(snapshot.fullscreen_file) end end