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

Method show_actions

playwright/_impl/_screencast.py:109–119  ·  view source on GitHub ↗
(
        self,
        duration: float = None,
        position: ScreencastPosition = None,
        fontSize: int = None,
        cursor: ScreencastCursor = None,
    )

Source from the content-addressed store, hash-verified

107 self._save_path = None
108
109 async def show_actions(
110 self,
111 duration: float = None,
112 position: ScreencastPosition = None,
113 fontSize: int = None,
114 cursor: ScreencastCursor = None,
115 ) -> DisposableStub:
116 await self._page._channel.send(
117 "screencastShowActions", None, locals_to_params(locals())
118 )
119 return DisposableStub(lambda: self.hide_actions(), self._page)
120
121 async def hide_actions(self) -> None:
122 await self._page._channel.send("screencastHideActions", None)

Calls 4

hide_actionsMethod · 0.95
locals_to_paramsFunction · 0.90
DisposableStubClass · 0.90
sendMethod · 0.45