Method: Capybara::Selenium::Driver#save_screenshot

Defined in:
lib/capybara/selenium/driver.rb

#save_screenshot(path, **options) ⇒ Object



151
152
153
# File 'lib/capybara/selenium/driver.rb', line 151

def save_screenshot(path, **options)
  browser.save_screenshot(path, **options)
end