Highlight on the page
Marks elements or every occurrence of some text on the page, like find in page.
Highlight text on the page
Details #
Give selector for elements or text for every place the text occurs. The marks follow scrolling. color (default yellow), id (to remove it with Take injected code out of the page), scroll brings the first into view.
Parameters #
| Parameter | Type | Required | Values | What it does |
|---|---|---|---|---|
browser | one of | safari chrome front | ||
color | text | , id, scroll. | ||
id | text | |||
scroll | yes / no | |||
selector | text | or text: What to mark. | ||
tab | any value | Which tab. | ||
text | text |
Every step also accepts label, onFailure, timeout and dryRunSafe.
Examples #
Find the word invoice
Do
- Highlight “invoice” on the page