Waits for a selector to become visible.
Context object.
the selector to wait for.
Optional
Wait for selector options.
async function step(ctx: Context) { const $el = await waitForSelector(ctx, selector);} Copy
async function step(ctx: Context) { const $el = await waitForSelector(ctx, selector);}
Generated using TypeDoc
Waits for a selector to become visible.