diff --git a/lib/capybara/node/finders.rb b/lib/capybara/node/finders.rb index 09f92cee..efe11a1b 100644 --- a/lib/capybara/node/finders.rb +++ b/lib/capybara/node/finders.rb @@ -37,7 +37,6 @@ module Capybara # + If you need to check for existence of a class name that starts with ! then prefix with !! # + ```class:['a', '!b', '!!!c'] # limit to elements with class 'a' and '!c' but not class 'b'``` # @option options [Boolean] exact Control whether `is` expressions in the given XPath match exactly or partially - # @option options [Integer, false] wait (Capybara.default_max_wait_time) The time to wait for matching elements to become available # @option options [Symbol] match The matching strategy to use. # # @return [Capybara::Node::Element] The found element diff --git a/lib/capybara/session/matchers.rb b/lib/capybara/session/matchers.rb index 3ac8bc8d..5b3a6bf9 100644 --- a/lib/capybara/session/matchers.rb +++ b/lib/capybara/session/matchers.rb @@ -6,7 +6,7 @@ module Capybara # Asserts that the page has the given path. # By default, if passed a full url this will compare against the full url, # if passed a path only the path+query portion will be compared, if passed a regexp - # the comparison will depend on the :url option + # the comparison will depend on the :url option (path+query by default) # # @!macro current_path_query_params # @overload $0(string, **options)