Method
wait_for_selector
(
self,
selector: str,
timeout: float = None,
state: Literal["attached", "detached", "hidden", "visible"] = None,
strict: bool = None,
)
Source from the content-addressed store, hash-verified
| 418 | return await self._main_frame.query_selector_all(selector) |
| 419 | |
| 420 | async def wait_for_selector( |
| 421 | self, |
| 422 | selector: str, |
| 423 | timeout: float = None, |
| 424 | state: Literal["attached", "detached", "hidden", "visible"] = None, |
| 425 | strict: bool = None, |
| 426 | ) -> Optional[ElementHandle]: |
| 427 | return await self._main_frame.wait_for_selector(**locals_to_params(locals())) |
| 428 | |
| 429 | async def is_checked( |
| 430 | self, selector: str, strict: bool = None, timeout: float = None |