Browse the docs

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 #

ParameterTypeRequiredValuesWhat it does
browserone ofsafari chrome front
colortext, id, scroll.
idtext
scrollyes / no
selectortextor text: What to mark.
tabany valueWhich tab.
texttext

Every step also accepts label, onFailure, timeout and dryRunSafe.

Examples #

Find the word invoice
Do
  1. Highlight “invoice” on the page
Open in Switchboard to try it