mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-23 00:44:55 +03:00
Fix typo "ped" -> "pet"
This commit is contained in:
parent
c62fb43eea
commit
c7704af0e7
@ -184,7 +184,7 @@ GET https://example.org/home
|
||||
# Capture the identifier from the dom node <div id="pet0">5646eaf23</div
|
||||
HTTP 200
|
||||
[Captures]
|
||||
ped-id: xpath "normalize-space(//div[@id='pet0'])"
|
||||
pet-id: xpath "normalize-space(//div[@id='pet0'])"
|
||||
|
||||
# Open the captured page.
|
||||
GET https://example.org/home/pets/{{pet-id}}
|
||||
@ -210,7 +210,7 @@ XPath expression can also be evaluated against part of the body with a [`xpath`
|
||||
GET https://example.org/home_cn
|
||||
HTTP 200
|
||||
[Captures]
|
||||
ped-id: bytes decode "gb2312" xpath "normalize-space(//div[@id='pet0'])"
|
||||
pet-id: bytes decode "gb2312" xpath "normalize-space(//div[@id='pet0'])"
|
||||
```
|
||||
|
||||
|
||||
@ -338,4 +338,4 @@ cert_serial_number: certificate "Serial-Number"
|
||||
[`--location` option]: /docs/manual.md#location
|
||||
[filters]: /docs/filters.md
|
||||
[`xpath` filter]: /docs/filters.md#xpath
|
||||
[`decode` filter]: /docs/filters.md#decode
|
||||
[`decode` filter]: /docs/filters.md#decode
|
||||
|
Loading…
Reference in New Issue
Block a user