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

Method accept

playwright/_impl/_dialog.py:51–52  ·  view source on GitHub ↗
(self, promptText: str = None)

Source from the content-addressed store, hash-verified

49 return self._page
50
51 async def accept(self, promptText: str = None) -> None:
52 await self._channel.send("accept", None, locals_to_params(locals()))
53
54 async def dismiss(self) -> None:
55 try:

Calls 2

locals_to_paramsFunction · 0.90
sendMethod · 0.45