Last active
August 29, 2015 14:06
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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