# By default this will compare against the path+query portion of the full url
#
# @!macro current_path_query_params
# @overload $0(string, options = {})
# @param string [String] The string that the current 'path' should equal
# @overload $0(regexp, options = {})
# @param regexp [Regexp] The regexp that the current 'path' should match to
# @option options [Numeric] :wait (Capybara.default_max_wait_time) Maximum time that Capybara will wait for the current path to eq/match given string/regexp argument
# @option options [Boolean] :url (false) Whether the compare should be done against the full url
# @option options [Boolean] :only_path (false) Whether the compare should be done against just the path protion of the url
# @raise [Capybara::ExpectationNotMet] if the assertion hasn't succeeded during wait time