Wait for window to become closed. @example
expect(window).to become_closed(wait: 0.8)
@param options [Hash] optional param @option options [Numeric] :wait (Capybara.default_wait_time) wait time
# File lib/capybara/rspec/matchers.rb, line 209 def become_closed(options = {}) BecomeClosed.new(options) end
# File lib/capybara/rspec/matchers.rb, line 187 def have_checked_field(locator, options={}) HaveSelector.new(:field, locator, options.merge(:checked => true)) end
# File lib/capybara/rspec/matchers.rb, line 162 def have_css(css, options={}) HaveSelector.new(:css, css, options) end
# File lib/capybara/rspec/matchers.rb, line 183 def have_field(locator, options={}) HaveSelector.new(:field, locator, options) end
# File lib/capybara/rspec/matchers.rb, line 175 def have_link(locator, options={}) HaveSelector.new(:link, locator, options) end
# File lib/capybara/rspec/matchers.rb, line 195 def have_select(locator, options={}) HaveSelector.new(:select, locator, options) end
# File lib/capybara/rspec/matchers.rb, line 154 def have_selector(*args) HaveSelector.new(*args) end
# File lib/capybara/rspec/matchers.rb, line 199 def have_table(locator, options={}) HaveSelector.new(:table, locator, options) end
# File lib/capybara/rspec/matchers.rb, line 166 def have_text(*args) HaveText.new(*args) end
# File lib/capybara/rspec/matchers.rb, line 171 def have_title(title, options = {}) HaveTitle.new(title, options) end
Generated with the Darkfish Rdoc Generator 2.