1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Fix option type: String -> Symbol

This commit is contained in:
Vinnie Okada 2014-10-22 00:32:27 -05:00
parent 7b4458336b
commit e4ee2ac6ea

View file

@ -132,7 +132,7 @@ module Capybara
# @param [:css, :xpath] kind The type of selector
# @param [String] locator The selector
# @option options [String, Regexp] text Only find elements which contain this text or match this regexp
# @option options [Boolean, String] visible Only find elements with the specified visibility:
# @option options [Boolean, Symbol] visible Only find elements with the specified visibility:
# * true - only finds visible elements.
# * false - finds invisible _and_ visible elements.
# * :all - same as false; finds visible and invisible elements.