highlight
Highlights the given element on the page by drawing a red rectangle around it. This is useful for debugging purposes.
Examples
await highlight('Get Started')
await highlight(link('Get Started'))
Parameters
-
selector
-
A selector of an element to highlight. If there are multiple elements satisfying the selector, the first will be highlighted.
-
args
Array -
Proximity selectors
Returns
Promise<void>