Method: Capybara::Session#save_and_open_screenshot
- Defined in:
- lib/capybara/session.rb
#save_and_open_screenshot(path = nil, **options) ⇒ Object
762 763 764 |
# File 'lib/capybara/session.rb', line 762 def save_and_open_screenshot(path = nil, **) save_screenshot(path, **).tap { |s_path| open_file(s_path) } end |