jnicklas/capybara — pull request #1371 by ice5050 (2014-08-01 10:11:34+00:00)
Title: add current_path_query to Capybara::Session

I think current_path_query (return Path and query of the current page) may be useful.

I got it from http://stackoverflow.com/questions/5228371/how-to-get-current-path-using-capybara.