Highlight

Visual outlining helpers that highlight matching elements and clear applied outlines.

ivalsaraj 133290e 2 files · 1.5 KB Updated

File contents

hl__highlight(selector, color?)

Visually highlight matching elements with a colored outline. Default color: red. Returns the number of elements highlighted.

Example: await hl__highlight('button.submit', 'blue')

hl__clearHighlights()

Remove all outlines added by hl__highlight(). Returns count of elements cleared.

Backward-compatible aliases:

  • highlight() -> hl__highlight()
  • clearHighlights() -> hl__clearHighlights()

ivalsaraj/browserforce/tree/main/plugins/official/highlight commit 133290ebee

Frequently asked questions

npx skillmds@latest add ivalsaraj/highlight