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

Minor README updates to clarify element visibility

This commit is contained in:
Thomas Walpole 2015-08-04 10:26:37 -07:00
parent d087965f81
commit b41fcb0f35

View file

@ -378,6 +378,9 @@ any Javascript errors that happen within the page.
*A complete reference is available at
[rubydoc.info](http://rubydoc.info/github/jnicklas/capybara/master)*.
**Note: By default Capybara will only locate visible elements. This is because
a real user would not be able to interact with non-visible elements.**
**Note**: All searches in Capybara are *case sensitive*. This is because
Capybara heavily uses XPath, which doesn't support case insensitivity.
@ -472,7 +475,7 @@ You can also find specific elements, in order to manipulate them:
```ruby
find_field('First Name').value
find_link('Hello').visible?
find_link('Hello', :visible => :all).visible?
find_button('Send').click
find(:xpath, "//table/tr").click