playwright/packages
Simon Knott b06a95dd75
feat(trace viewer): show baseURL in Metadata pane (#31852)
Resolves https://github.com/microsoft/playwright/issues/31847 by adding
playwright config's `baseURL` value to the `context-options` trace
event, and showing that in the Trace Viewer.

Because the added property is optional, I didn't increment the trace
format version.

I've also considered pulling the `baseURL` from the existing
`browser.newContext` step to get around modifying the trace format, but
that felt pretty hacky.


https://github.com/user-attachments/assets/ecaef747-727d-4937-9ca3-1605ca9907b9

---------

Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-07-25 17:14:46 +02:00
..
html-reporter chore: enforce single quotes in JSX (#31855) 2024-07-25 13:06:26 +02:00
playwright chore: remove glob from client-certificate matching (#31846) 2024-07-24 19:13:03 +02:00
playwright-browser-chromium chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
playwright-browser-firefox chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
playwright-browser-webkit chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
playwright-chromium chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
playwright-core feat(chromium): roll to r1128 (#31848) 2024-07-25 09:42:53 +02:00
playwright-ct-core feat(test runner): --only-changed option (#31727) 2024-07-23 18:04:17 +02:00
playwright-ct-react fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
playwright-ct-react17 fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
playwright-ct-solid fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
playwright-ct-svelte fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
playwright-ct-vue fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
playwright-ct-vue2 fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
playwright-firefox chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
playwright-test chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
playwright-webkit chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
protocol/src chore: client certificates api review (#31826) 2024-07-23 22:56:36 +02:00
recorder chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
trace/src feat(trace viewer): show baseURL in Metadata pane (#31852) 2024-07-25 17:14:46 +02:00
trace-viewer feat(trace viewer): show baseURL in Metadata pane (#31852) 2024-07-25 17:14:46 +02:00
web feat(trace viewer): allow hiding route actions (#31726) 2024-07-22 11:34:34 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00