This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
token:WebBrowserTokens [2023/09/19 00:59] peternlewis |
token:WebBrowserTokens [2023/09/19 00:59] (current) peternlewis |
||
---|---|---|---|
Line 42: | Line 42: | ||
==== 1. Get All Text on Web Page ==== | ==== 1. Get All Text on Web Page ==== | ||
- | `%FrontBrowserJavaScript%document.body.innerText;%` | + | `%FrontBrowserJavaScript%document.body.innerText%` |
==== 2. Get Full Page HTML ==== | ==== 2. Get Full Page HTML ==== | ||
- | `%FrontBrowserJavaScript%document.getElementsByTagName("html")[0].outerHTML;%` | + | `%FrontBrowserJavaScript%document.getElementsByTagName("html")[0].outerHTML%` |
==== 3. Get Text Identified by HTML tag and class ==== | ==== 3. Get Text Identified by HTML tag and class ==== | ||
- | `%FrontBrowserJavaScript%document.querySelector('div.someclassname').innerText;%` | + | `%FrontBrowserJavaScript%document.querySelector('div.someclassname').innerText%` |
===== Full List ===== | ===== Full List ===== |