Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision |
| XPath [2017/09/05 08:15] – created peternlewis | XPath [2021/02/28 22:54] (current) – Fixed formatting with double slashes JMichaelTX |
|---|
| [[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. |
| |
| |