From 8a2a56c27fec709183e39410520622c160e91756 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Wed, 30 Aug 2017 17:34:48 +0800 Subject: [PATCH] xpath: add browser console --- xpath.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/xpath.md b/xpath.md index bde2ff0e0..2637e2ee1 100644 --- a/xpath.md +++ b/xpath.md @@ -6,6 +6,21 @@ tags: [Featured] weight: -5 --- +## Testing + +### Xpath test bed + +Test queries in the Xpath test bed:
+[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