Created
August 14, 2010 17:41
-
-
Save rgarver/524520 to your computer and use it in GitHub Desktop.
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
# When in @javascript mode this will simulate clicking the back button on the browser. Uses capybara. | |
Then /^(?:|I )click the browser(?:|\'s)? back button$/ do | |
page.execute_script("history.back()") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment