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

Method stop_har

playwright/_impl/_tracing.py:240–245  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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)

Calls 1

_export_harMethod · 0.95