| 122 | await self._page._channel.send("screencastHideActions", None) |
| 123 | |
| 124 | async def show_overlay(self, html: str, duration: float = None) -> DisposableStub: |
| 125 | result = await self._page._channel.send_return_as_dict( |
| 126 | "screencastShowOverlay", None, locals_to_params(locals()) |
| 127 | ) |
| 128 | overlay_id = (result or {}).get("id") |
| 129 | return DisposableStub( |
| 130 | lambda: self._page._channel.send( |
| 131 | "screencastRemoveOverlay", None, {"id": overlay_id} |
| 132 | ), |
| 133 | self._page, |
| 134 | ) |
| 135 | |
| 136 | async def show_chapter( |
| 137 | self, |