Skip to content

Instantly share code, notes, and snippets.

@fervisa
Created November 8, 2013 23:17
Show Gist options
  • Select an option

  • Save fervisa/7379198 to your computer and use it in GitHub Desktop.

Select an option

Save fervisa/7379198 to your computer and use it in GitHub Desktop.
Save a screenshot in png file within a cabypara step definition
Capybara.save_screenshot 'tmp/my_screen.png'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment