(self)
| 238 | self._har_id = None |
| 239 | |
| 240 | async def stop_har(self) -> None: |
| 241 | har_id = self._har_id |
| 242 | if not har_id: |
| 243 | return |
| 244 | self._har_id = None |
| 245 | await self._export_har(har_id) |
| 246 | |
| 247 | async def _export_har(self, har_id: str) -> None: |
| 248 | params = self._har_recorders.pop(har_id, None) |