playwright/src/server/supplements/har
Ross Wollman cd110e6477
feat(har): Remotely accessible HAR file (#8385)
This change ensure's the HAR file is saved at `recordHar.path` on the
client instead of the server.

NB: The goal was to make this change transparent to the user and NOT
introduce any new APIs. Namely, I want to leave the API open for
potential `context.har.start()` and `context.har.stop()`.

This does BREAK servers that expect the HAR to be at the `recordHar.path`
on the server, but I think that's OK since there haven't been reports
of missing HAR on client making me think not many users are getting
HAR with client and server on different hosts anyways.

Closes #8355
2021-08-25 13:32:56 -07:00
..
har.ts chore: migrate tracing ResourceSnapshot to follow har entry format (#8391) 2021-08-24 13:17:58 -07:00
harRecorder.ts feat(har): Remotely accessible HAR file (#8385) 2021-08-25 13:32:56 -07:00
harTracer.ts chore: use 'mime' for various mimeType-extension mappings (#8426) 2021-08-25 11:18:35 -07:00