Skip to content

Instantly share code, notes, and snippets.

@jimeh
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimeh/230338bac9bb159bda8f to your computer and use it in GitHub Desktop.
Save jimeh/230338bac9bb159bda8f to your computer and use it in GitHub Desktop.
Crazy hack way to debug Cucumber runs in PhantomJS with a real browser.
# Visit printed URL in a real browser. When done press enter/return to resume
# Cucumber run.
Then(/^log current URL$/) do
STDOUT.print " >>>>>> current_url: #{current_url}"
STDIN.gets
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment