Repository navigation
This release adds support for opt-in network data recording in Time Travel snapshots.
🚀 Improvements
-
New
networkRequestsevents are emitted by testplane for supported browsers, that can be consumed by plugins to save requests/responses data that happen inside the browser -
To opt-in, set network to true in the Time Travel config:
timeTravel: { mode: TimeTravelMode.LastFailedRun, network: { enabled: true, // You can also configure max request/response body size. If exceeded, only metadata will be saved. maxBodySizeBytes: 10 * 1024 * 1024 }, }, -
We recommend to enable network requests recording only for debugging or limited cases like
TimeTravelMode.LastFailedRun, because otherwise report size may grow substantially -
While exact Time Travel snapshot with network data recording enabled may vary, you can expect one attempt to weigh around 2MB, compressed