(
self,
selector: str,
type: str,
eventInit: Dict = None,
timeout: float = None,
strict: bool = None,
)
| 459 | return await self._main_frame.is_visible(selector=selector, strict=strict) |
| 460 | |
| 461 | async def dispatch_event( |
| 462 | self, |
| 463 | selector: str, |
| 464 | type: str, |
| 465 | eventInit: Dict = None, |
| 466 | timeout: float = None, |
| 467 | strict: bool = None, |
| 468 | ) -> None: |
| 469 | return await self._main_frame.dispatch_event(**locals_to_params(locals())) |
| 470 | |
| 471 | async def evaluate(self, expression: str, arg: Serializable = None) -> Any: |
| 472 | return await self._main_frame.evaluate(expression, arg) |