Module: Screenshot
- Defined in:
- lib/features/support/lib/helpers/screenshot_helpers.rb
Instance Method Summary collapse
Instance Method Details
#embed_screenshot(filename) ⇒ Object
2 3 4 5 |
# File 'lib/features/support/lib/helpers/screenshot_helpers.rb', line 2 def (filename) @browser.screenshot.save filename filename, 'image/png' end |