Optional
selector: null | stringThe CSS selector to use
Optional
args: null | { Configuration args
Optional
lambda: (() => null | Element)An optional function that returns the
element. Used if the selector
is not provided.
A promise that resolves to the found element.
Wait for an element to appear in the DOM, then resolve the promise. Either a query selector or lambda function must be provided.