mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2026-09-12 16:11:41 +02:00
Update xpath
This commit is contained in:
@@ -32,6 +32,7 @@ layout: default
|
|||||||
| --- | --- | |
|
| --- | --- | |
|
||||||
| `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* | |
|
||||||
{:.greycode.no-head}
|
{:.greycode.no-head}
|
||||||
|
|
||||||
### Order selectors
|
### Order selectors
|
||||||
|
|||||||
Reference in New Issue
Block a user