mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-07 11:46:42 +03:00
feat: Allow multiple trace uploads in the trace viewer (#23517)
This commit is contained in:
parent
ba69de8c7c
commit
afa531ef60
@ -157,9 +157,10 @@ export const WorkbenchLoader: React.FunctionComponent<{
|
|||||||
<button onClick={() => {
|
<button onClick={() => {
|
||||||
const input = document.createElement('input');
|
const input = document.createElement('input');
|
||||||
input.type = 'file';
|
input.type = 'file';
|
||||||
|
input.multiple = true;
|
||||||
input.click();
|
input.click();
|
||||||
input.addEventListener('change', e => handleFileInputChange(e));
|
input.addEventListener('change', e => handleFileInputChange(e));
|
||||||
}}>Select file</button>
|
}}>Select file(s)</button>
|
||||||
<div style={{ maxWidth: 400 }}>Playwright Trace Viewer is a Progressive Web App, it does not send your trace anywhere,
|
<div style={{ maxWidth: 400 }}>Playwright Trace Viewer is a Progressive Web App, it does not send your trace anywhere,
|
||||||
it opens it locally.</div>
|
it opens it locally.</div>
|
||||||
</div>}
|
</div>}
|
||||||
|
Loading…
Reference in New Issue
Block a user