playwright/packages
Simon Knott 751b939d3a
feat(fetch): record timings (#32613)
Related to https://github.com/microsoft/playwright/issues/19621

Adds some instrumentation to collect timings for `APIRequestContext`
requests and adds them to the HAR trace. Doesn't yet expose them via an
API, but makes our `Duration` field in the trace viewer show a nice
duration:

<img width="1392" alt="Screenshot 2024-09-14 at 11 46 04"
src="https://github.com/user-attachments/assets/8020382d-9494-4634-9cfd-22b6f4a1d770">


I'm gonna add it to our API in a separate PR.

---------

Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-09-17 16:11:21 +02:00
..
html-reporter feat(html-reporter): add file name copy button (#32652) 2024-09-17 15:54:22 +02:00
playwright Revert "feat(tracing): add .pwtrace to trace file extension" (#32648) 2024-09-17 15:32:30 +02:00
playwright-browser-chromium chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-browser-firefox chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-browser-webkit chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-chromium chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-core feat(fetch): record timings (#32613) 2024-09-17 16:11:21 +02:00
playwright-ct-core fix(ct): throw error if inline component is getting mounted (#32531) 2024-09-10 11:15:20 +02:00
playwright-ct-react chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-ct-react17 chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-ct-solid chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-ct-svelte chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-ct-vue chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-ct-vue2 chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-firefox chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-test chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-webkit chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
protocol/src feat(api): add method to force garbage collection (#32383) 2024-09-13 23:09:36 +02:00
recorder fix(recorder): address the react race condition (#32628) 2024-09-16 13:47:13 -07:00
trace/src fix(tracing): use page swap timestamp to find closest screenshot (#32512) 2024-09-10 14:32:33 +02:00
trace-viewer chore: preserve selected trace action in live trace (#32630) 2024-09-16 17:33:52 -07:00
web chore: roll expect and move it to third party (#32458) 2024-09-09 13:12:20 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00