Created
July 17, 2014 15:42
-
-
Save peacetrader/c58bed760ea8d8dfe64d 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
Since the version 2.1.0 of capybara there are methods on the session to deal with the title. | |
page.title | |
page.has_title? "my title" | |
page.has_no_title? "my not found title" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment