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

Method dispatch_event

playwright/_impl/_page.py:461–469  ·  view source on GitHub ↗
(
        self,
        selector: str,
        type: str,
        eventInit: Dict = None,
        timeout: float = None,
        strict: bool = None,
    )

Source from the content-addressed store, hash-verified

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)

Calls 1

locals_to_paramsFunction · 0.90