Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(trace): Only allow zip files to be selected for upload (#37905)
Chris3978aab64105
diff --git a/docs/src/trace-viewer.md b/docs/src/trace-viewer.mdindex dbd0604f2c..f7bb39eaa8 100644--- a/docs/src/trace-viewer.md+++ b/docs/src/trace-viewer.md@@ -39,7 +39,7 @@ pwsh bin/Debug/netX/playwright.ps1 show-trace trace.zip### Using [trace.playwright.dev](https://trace.playwright.dev)-[trace.playwright.dev](https://trace.playwright.dev) is a statically hosted variant of the Trace Viewer. You can upload trace files using drag and drop or via the `Select file(s)` button.+[trace.playwright.dev](https://trace.playwright.dev) is a statically hosted variant of the Trace Viewer. You can upload a trace file using drag and drop or via the `Select file` button.Trace Viewer loads the trace entirely in your browser and does not transmit any data externally.diff --git a/packages/trace-viewer/src/ui/workbenchLoader.tsx b/packages/trace-viewer/src/ui/workbenchLoader.tsxindex 165f4d6c70..0683b3a8a9 100644--- a/packages/trace-viewer/src/ui/workbenchLoader.tsx+++ b/packages/trace-viewer/src/ui/workbenchLoader.tsx@@ -215,7 +215,7 @@ export const WorkbenchLoader: React.FunctionComponent<{input.type = 'file';input.click();input.addEventListener('change', e => handleFileInputChange(e));- }} type='button'>Select file(s)</button>+ }} type='button'>Select file</button><div style={{ maxWidth: 400 }}>Playwright Trace Viewer is a Progressive Web App, it does not send your trace anywhere,it opens it locally.</div></div>}