(
self,
duration: float = None,
position: ScreencastPosition = None,
fontSize: int = None,
cursor: ScreencastCursor = None,
)
| 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) |