module Capybara::SaveScreenshotPatch

Public Instance Methods

save_screenshot(path, options={}) click to toggle source
Calls superclass method
# File lib/capybara/screenshot_config.rb, line 19
def save_screenshot(path, options={})
  options = ScreenshotConfig.configuration.options.merge(options)

  super("#{ScreenshotConfig.configuration.save_dir}/#{path}", options)
end