lib/capybara/node/finders.rb in capybara-3.35.3 vs lib/capybara/node/finders.rb in capybara-3.36.0

- old
+ new

@@ -20,10 +20,10 @@ # @option options [String, Regexp] text Only find elements which contain this text or match this regexp # @option options [String, Boolean] exact_text # When String the elements contained text must match exactly, when Boolean controls whether the `text` option must match exactly. # Defaults to {Capybara.configure exact_text}. # @option options [Boolean] normalize_ws - # Whether the `text`/`exact_text` options are compared against elment text with whitespace normalized or as returned by the driver. + # Whether the `text`/`exact_text` options are compared against element text with whitespace normalized or as returned by the driver. # Defaults to {Capybara.configure default_normalize_ws}. # @option options [Boolean, Symbol] visible # Only find elements with the specified visibility. Defaults to behavior indicated by {Capybara.configure ignore_hidden_elements}. # * true - only finds visible elements. # * false - finds invisible _and_ visible elements.