Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |
| XPath [2020/10/21 08:31] – 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, it 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. |
| |
| |