Read from the page
Reads text, HTML, a value, an attribute or the position of an element; with all, a list.
Read what of selector
Details #
what is text (the default), html, value, attribute (name it in attribute) or rect. With all the result is a list with one entry per element that matches. The result goes in into.
Parameters #
| Parameter | Type | Required | Values | What it does |
|---|---|---|---|---|
selector | text | Yes | Required. | |
all | yes / no | |||
attribute | text | |||
browser | one of | safari chrome front | ||
html | text | |||
impersonate | one of | auto chrome safari none | ||
into | text | The variable that receives the result. | ||
sample | any value | |||
signIn | text | |||
tab | any value | |||
timeout | number | , tab, via. | ||
url | text | , html, signIn, impersonate: Read a page nobody has open (see Extract links, a table or the article). With a url, via can be fetch or tab. | ||
via | one of | auto extension appleScript fetch tab | ||
what | one of | text html value attribute rect | , attribute, all. |
Every step also accepts label, onFailure, timeout and dryRunSafe.
Examples #
Read the price
Do
- Read the text of “.price”
- Show “{{price}}” for 2 s
Gotchas #
A dry run doesn't read the page.