lib/capybara/node/actions.rb in capybara-3.15.1 vs lib/capybara/node/actions.rb in capybara-3.16.0

- old
+ new

@@ -6,10 +6,10 @@ # @!macro waiting_behavior # If the driver is capable of executing JavaScript, this method will wait for a set amount of time # and continuously retry finding the element until either the element is found or the time # expires. The length of time +find+ will wait is controlled through {Capybara.default_max_wait_time} # - # @option options [false, Numeric] wait (Capybara.default_max_wait_time) Maximum time to wait for matching element to appear. + # @option options [false, true, Numeric] wait (Capybara.default_max_wait_time) Maximum time to wait for matching element to appear. ## # # Finds a button or link and clicks it. See {Capybara::Node::Actions#click_button} and # {Capybara::Node::Actions#click_link} for what locator will match against for each type of element