xpath: add browser console
This commit is contained in:
parent
29b92c8c77
commit
8a2a56c27f
15
xpath.md
15
xpath.md
|
@ -6,6 +6,21 @@ tags: [Featured]
|
|||
weight: -5
|
||||
---
|
||||
|
||||
## Testing
|
||||
|
||||
### Xpath test bed
|
||||
|
||||
Test queries in the Xpath test bed:<br>
|
||||
[Xpath test bed](http://www.whitebeam.org/library/guide/TechNotes/xpathtestbed.rhtm) _(whitebeam.org)_
|
||||
|
||||
### Browser console
|
||||
|
||||
```js
|
||||
$x('//div')
|
||||
```
|
||||
|
||||
Works in Firefox and Chrome.
|
||||
|
||||
## Selectors
|
||||
|
||||
### Descendant selectors
|
||||
|
|
Loading…
Reference in New Issue