mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Update UPGRADING.md [ci skip]
This commit is contained in:
parent
69372224ab
commit
649d7ba4ca
1 changed files with 3 additions and 0 deletions
|
@ -25,3 +25,6 @@ first('div', minimum: 0)
|
||||||
all('div', wait: false)
|
all('div', wait: false)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Node
|
||||||
|
|
||||||
|
`Node#text` no longer fully normalizes whitespace, instead returning text as close as possible to "as rendered". This means non-blanking spaces will no longer be collapsed, carriage returns may be returned in text strings, etc. This affects not only the `Node#text` method but also methods that take a `:text` option as well as the text related predicates, assertions, and matchers (`has_text?`, `has_content?`, `assert_text`, `have_text`, etc.).
|
||||||
|
|
Loading…
Reference in a new issue