mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Add docs about Capybara.save_path and #save_screenshot
This commit is contained in:
parent
f7e537006a
commit
b9a11a4788
1 changed files with 4 additions and 0 deletions
|
@ -672,6 +672,10 @@ Or have it save and automatically open:
|
|||
save_and_open_screenshot
|
||||
```
|
||||
|
||||
Screenshots are saved to `Capybara.save_path`, relative to the app directory.
|
||||
If you have required `capybara/rails`, `Capybara.save_path` will default to
|
||||
`tmp/capybara`.
|
||||
|
||||
## <a name="matching"></a>Matching
|
||||
|
||||
It is possible to customize how Capybara finds elements. At your disposal
|
||||
|
|
Loading…
Add table
Reference in a new issue