Skip to content

Instantly share code, notes, and snippets.

@jasonblanchard
Created April 25, 2013 19:56
Show Gist options
  • Save jasonblanchard/5462640 to your computer and use it in GitHub Desktop.
Save jasonblanchard/5462640 to your computer and use it in GitHub Desktop.
Great step definition for debugging Cucumber tests. Put it anywhere in the steps to see what Capybara is looking at.
Then(/^show page$/) do
puts page.body
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment