xpath: add browser console

This commit is contained in:
Rico Sta. Cruz 2017-08-30 17:34:48 +08:00
parent 29b92c8c77
commit 8a2a56c27f
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 15 additions and 0 deletions

View File

@ -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