xpath: fix possible typo

This commit is contained in:
Vse Mozhet Byt 2018-02-11 18:38:10 +02:00
parent d6365a8ef9
commit f6d311aebf
1 changed files with 3 additions and 2 deletions

View File

@ -51,7 +51,8 @@ Works in Firefox and Chrome.
| ---- | ---- | -- | | ---- | ---- | -- |
| `a[href^='/']` | `//a[starts-with(@href, '/')]` | [?](#string-functions) | | `a[href^='/']` | `//a[starts-with(@href, '/')]` | [?](#string-functions) |
| `a[href$='pdf']` | `//a[ends-with(@href, '.pdf')]` | | | `a[href$='pdf']` | `//a[ends-with(@href, '.pdf')]` | |
| `a[href~='://']` | `//a[contains(@href, '://')]` *...[kinda](#class-check)* | | | `a[href*='://']` | `//a[contains(@href, '://')]` | |
| `a[rel~='help']` | `//a[contains(@rel, 'help')]` *...[kinda](#class-check)* | |
{: .xp} {: .xp}
### Order selectors ### Order selectors