Update capybara
This commit is contained in:
parent
c2b93cdfd8
commit
1bb387928c
13
capybara.md
13
capybara.md
|
@ -106,15 +106,19 @@ should_not doesn't wait for a timeout from the driver
|
|||
.current_path
|
||||
.current_url
|
||||
|
||||
## AJAX
|
||||
|
||||
using_wait_time(10) { ... }
|
||||
|
||||
## Misc
|
||||
|
||||
drag
|
||||
field_labeled
|
||||
wait_until
|
||||
|
||||
## Capybara RSpec matchers
|
||||
|
||||
# all selectors have:
|
||||
```rb
|
||||
# all selectors have...
|
||||
text: 'welcome'
|
||||
visible: true
|
||||
count: 4
|
||||
|
@ -141,6 +145,7 @@ should_not doesn't wait for a timeout from the driver
|
|||
# alias: have_content
|
||||
expect(page).to have_unchecked_field
|
||||
expect(page).to have_xpath
|
||||
```
|
||||
|
||||
http://rubydoc.info/github/jnicklas/capybara/Capybara/RSpecMatchers
|
||||
http://www.rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Matchers
|
||||
- <http://rubydoc.info/github/jnicklas/capybara/Capybara/RSpecMatchers>
|
||||
- <http://www.rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Matchers>
|
||||
|
|
Loading…
Reference in New Issue