waygraph / visible
Function: visible()
visible(
selector):Trait
Defined in: src/engine/trait/trait.ts:247
Passes once at least one element matching selector is visible on the page, waiting for it to appear. Uses .first() so list selectors (e.g. one row per message/document) don't trip Playwright strict mode - the check means "something matching is visible", not "the selector is unambiguous".
Parameters
selector
string