MCPcopy Index your code
hub / github.com/microsoft/playwright-python / wait_for

Method wait_for

playwright/_impl/_locator.py:736–743  ·  view source on GitHub ↗
(
        self,
        timeout: float = None,
        state: Literal["attached", "detached", "hidden", "visible"] = None,
    )

Source from the content-addressed store, hash-verified

734 )
735
736 async def wait_for(
737 self,
738 timeout: float = None,
739 state: Literal["attached", "detached", "hidden", "visible"] = None,
740 ) -> None:
741 await self._frame.wait_for_selector(
742 self._selector, strict=True, timeout=timeout, state=state
743 )
744
745 async def set_checked(
746 self,

Calls 1

wait_for_selectorMethod · 0.45