This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
XPath [2017/09/05 04:15] peternlewis created |
XPath [2021/02/28 17:54] (current) JMichaelTX Fixed formatting with double slashes |
||
---|---|---|---|
Line 3: | Line 3: | ||
[[https://www.w3schools.com/xml/xpath_syntax.asp|XPath]] is a query language for selecting nodes from an HTML document. | [[https://www.w3schools.com/xml/xpath_syntax.asp|XPath]] is a query language for selecting nodes from an HTML document. | ||
- | In Keyboard Maestro, in the various [[actions:Browser_Actions|Browser Actions]] and tokens you can use an XPath as long as it starts with “/html”, “/HTML” or “//”. Otherwise, ti is typically considered to be JavaScript code or just a plain name, depending on the action or token in question. | + | In Keyboard Maestro, in the various [[actions:Browser_Actions|Browser Actions]] and tokens you can use an XPath as long as it starts with “/html”, “/HTML” or “`//`”. Otherwise, it is typically considered to be JavaScript code or just a plain name, depending on the action or token in question. |