module Capybara::DSL

Public Instance Methods

screenshot_and_open_image() click to toggle source
# File lib/capybara-screenshot/capybara.rb, line 26
def screenshot_and_open_image
  Capybara::Screenshot.screenshot_and_open_image
end
screenshot_and_save_page() click to toggle source

Adds class methods to Capybara module and gets mixed into the current scope during Cucumber and RSpec tests

# File lib/capybara-screenshot/capybara.rb, line 22
def screenshot_and_save_page
  Capybara::Screenshot.screenshot_and_save_page
end