-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Playwright Trace Viewer for VS Code</title> | ||
<script type="module" crossorigin src="./embedded.CmarehFk.js"></script> | ||
<link rel="modulepreload" crossorigin href="./assets/inspectorTab-B4Iw34Ow.js"> | ||
<link rel="modulepreload" crossorigin href="./assets/workbench-DFlGYqou.js"> | ||
<link rel="stylesheet" crossorigin href="./inspectorTab.DEOUW62d.css"> | ||
<link rel="stylesheet" crossorigin href="./workbench.C-zR9ysA.css"> | ||
<link rel="stylesheet" crossorigin href="./embedded.w7WN2u1R.css"> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="icon" href="./playwright-logo.svg" type="image/svg+xml"> | ||
<link rel="manifest" href="./manifest.webmanifest"> | ||
<title>Playwright Trace Viewer</title> | ||
<script type="module" crossorigin src="./index.FBucu_gE.js"></script> | ||
<link rel="modulepreload" crossorigin href="./assets/inspectorTab-B4Iw34Ow.js"> | ||
<link rel="modulepreload" crossorigin href="./assets/workbench-DFlGYqou.js"> | ||
<link rel="modulepreload" crossorigin href="./assets/testServerConnection-DeE2kSzz.js"> | ||
<link rel="stylesheet" crossorigin href="./inspectorTab.DEOUW62d.css"> | ||
<link rel="stylesheet" crossorigin href="./workbench.C-zR9ysA.css"> | ||
<link rel="stylesheet" crossorigin href="./index.CrbWWHbf.css"> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<dialog id="fallback-error"> | ||
<p>The Playwright Trace Viewer must be loaded over the <code>http://</code> or <code>https://</code> protocols.</p> | ||
<p>For more information, please see the <a href="https://aka.ms/playwright/trace-viewer-file-protocol">docs</a>.</p> | ||
</dialog> | ||
<script> | ||
if (!/^https?:/.test(window.location.protocol)) { | ||
const fallbackErrorDialog = document.getElementById('fallback-error'); | ||
const isTraceViewerInsidePlaywrightReport = window.location.protocol === 'file:' && window.location.pathname.endsWith('/playwright-report/trace/index.html'); | ||
// Best-effort to show the report path in the dialog. | ||
if (isTraceViewerInsidePlaywrightReport) { | ||
const reportPath = (() => { | ||
const base = window.location.pathname.replace(/\/trace\/index\.html$/, ''); | ||
if (navigator.platform === 'Win32') | ||
return base.replace(/^\//, '').replace(/\//g, '\\\\'); | ||
return base; | ||
})(); | ||
const reportLink = document.createElement('div'); | ||
const command = `npx playwright show-report ${reportPath}`; | ||
reportLink.innerHTML = `You can open the report via <code>${command}</code> from your Playwright project. <button type="button">Copy Command</button>`; | ||
fallbackErrorDialog.insertBefore(reportLink, fallbackErrorDialog.children[1]); | ||
reportLink.querySelector('button').addEventListener('click', () => navigator.clipboard.writeText(command)); | ||
} | ||
fallbackErrorDialog.show(); | ||
} | ||
</script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="icon" href="./playwright-logo.svg" type="image/svg+xml"> | ||
<title>Playwright Recorder</title> | ||
<script type="module" crossorigin src="./recorder.CW_rzcEp.js"></script> | ||
<link rel="modulepreload" crossorigin href="./assets/inspectorTab-B4Iw34Ow.js"> | ||
<link rel="stylesheet" crossorigin href="./inspectorTab.DEOUW62d.css"> | ||
<link rel="stylesheet" crossorigin href="./recorder.B_SY1GJM.css"> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<body> | ||
<script> | ||
(async () => { | ||
if (!navigator.serviceWorker) | ||
throw new Error(`Service workers are not supported.\nMake sure to serve the Trace Viewer (${window.location}) via HTTPS or localhost.`); | ||
navigator.serviceWorker.register('sw.bundle.js'); | ||
if (!navigator.serviceWorker.controller) | ||
await new Promise(f => navigator.serviceWorker.oncontrollerchange = f); | ||
const traceUrl = new URL(location.href).searchParams.get('trace'); | ||
const params = new URLSearchParams(); | ||
params.set('trace', traceUrl); | ||
await fetch('contexts?' + params.toString()).then(r => r.json()); | ||
await location.reload(); | ||
})(); | ||
</script> | ||
<script src="stall.js"></script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="icon" href="./playwright-logo.svg" type="image/svg+xml"> | ||
<title>Playwright Test</title> | ||
<script type="module" crossorigin src="./uiMode.CDUVjusr.js"></script> | ||
<link rel="modulepreload" crossorigin href="./assets/inspectorTab-B4Iw34Ow.js"> | ||
<link rel="modulepreload" crossorigin href="./assets/testServerConnection-DeE2kSzz.js"> | ||
<link rel="modulepreload" crossorigin href="./assets/workbench-DFlGYqou.js"> | ||
<link rel="stylesheet" crossorigin href="./inspectorTab.DEOUW62d.css"> | ||
<link rel="stylesheet" crossorigin href="./workbench.C-zR9ysA.css"> | ||
<link rel="stylesheet" crossorigin href="./uiMode.voC1ZiOQ.css"> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Playwright Trace Viewer for VS Code</title> | ||
<script type="module" crossorigin src="./embedded.CmarehFk.js"></script> | ||
<link rel="modulepreload" crossorigin href="./assets/inspectorTab-B4Iw34Ow.js"> | ||
<link rel="modulepreload" crossorigin href="./assets/workbench-DFlGYqou.js"> | ||
<link rel="stylesheet" crossorigin href="./inspectorTab.DEOUW62d.css"> | ||
<link rel="stylesheet" crossorigin href="./workbench.C-zR9ysA.css"> | ||
<link rel="stylesheet" crossorigin href="./embedded.w7WN2u1R.css"> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="icon" href="./playwright-logo.svg" type="image/svg+xml"> | ||
<link rel="manifest" href="./manifest.webmanifest"> | ||
<title>Playwright Trace Viewer</title> | ||
<script type="module" crossorigin src="./index.FBucu_gE.js"></script> | ||
<link rel="modulepreload" crossorigin href="./assets/inspectorTab-B4Iw34Ow.js"> | ||
<link rel="modulepreload" crossorigin href="./assets/workbench-DFlGYqou.js"> | ||
<link rel="modulepreload" crossorigin href="./assets/testServerConnection-DeE2kSzz.js"> | ||
<link rel="stylesheet" crossorigin href="./inspectorTab.DEOUW62d.css"> | ||
<link rel="stylesheet" crossorigin href="./workbench.C-zR9ysA.css"> | ||
<link rel="stylesheet" crossorigin href="./index.CrbWWHbf.css"> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<dialog id="fallback-error"> | ||
<p>The Playwright Trace Viewer must be loaded over the <code>http://</code> or <code>https://</code> protocols.</p> | ||
<p>For more information, please see the <a href="https://aka.ms/playwright/trace-viewer-file-protocol">docs</a>.</p> | ||
</dialog> | ||
<script> | ||
if (!/^https?:/.test(window.location.protocol)) { | ||
const fallbackErrorDialog = document.getElementById('fallback-error'); | ||
const isTraceViewerInsidePlaywrightReport = window.location.protocol === 'file:' && window.location.pathname.endsWith('/playwright-report/trace/index.html'); | ||
// Best-effort to show the report path in the dialog. | ||
if (isTraceViewerInsidePlaywrightReport) { | ||
const reportPath = (() => { | ||
const base = window.location.pathname.replace(/\/trace\/index\.html$/, ''); | ||
if (navigator.platform === 'Win32') | ||
return base.replace(/^\//, '').replace(/\//g, '\\\\'); | ||
return base; | ||
})(); | ||
const reportLink = document.createElement('div'); | ||
const command = `npx playwright show-report ${reportPath}`; | ||
reportLink.innerHTML = `You can open the report via <code>${command}</code> from your Playwright project. <button type="button">Copy Command</button>`; | ||
fallbackErrorDialog.insertBefore(reportLink, fallbackErrorDialog.children[1]); | ||
reportLink.querySelector('button').addEventListener('click', () => navigator.clipboard.writeText(command)); | ||
} | ||
fallbackErrorDialog.show(); | ||
} | ||
</script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="icon" href="./playwright-logo.svg" type="image/svg+xml"> | ||
<title>Playwright Recorder</title> | ||
<script type="module" crossorigin src="./recorder.CW_rzcEp.js"></script> | ||
<link rel="modulepreload" crossorigin href="./assets/inspectorTab-B4Iw34Ow.js"> | ||
<link rel="stylesheet" crossorigin href="./inspectorTab.DEOUW62d.css"> | ||
<link rel="stylesheet" crossorigin href="./recorder.B_SY1GJM.css"> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<body> | ||
<script> | ||
(async () => { | ||
if (!navigator.serviceWorker) | ||
throw new Error(`Service workers are not supported.\nMake sure to serve the Trace Viewer (${window.location}) via HTTPS or localhost.`); | ||
navigator.serviceWorker.register('sw.bundle.js'); | ||
if (!navigator.serviceWorker.controller) | ||
await new Promise(f => navigator.serviceWorker.oncontrollerchange = f); | ||
const traceUrl = new URL(location.href).searchParams.get('trace'); | ||
const params = new URLSearchParams(); | ||
params.set('trace', traceUrl); | ||
await fetch('contexts?' + params.toString()).then(r => r.json()); | ||
await location.reload(); | ||
})(); | ||
</script> | ||
<script src="stall.js"></script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="icon" href="./playwright-logo.svg" type="image/svg+xml"> | ||
<title>Playwright Test</title> | ||
<script type="module" crossorigin src="./uiMode.CDUVjusr.js"></script> | ||
<link rel="modulepreload" crossorigin href="./assets/inspectorTab-B4Iw34Ow.js"> | ||
<link rel="modulepreload" crossorigin href="./assets/testServerConnection-DeE2kSzz.js"> | ||
<link rel="modulepreload" crossorigin href="./assets/workbench-DFlGYqou.js"> | ||
<link rel="stylesheet" crossorigin href="./inspectorTab.DEOUW62d.css"> | ||
<link rel="stylesheet" crossorigin href="./workbench.C-zR9ysA.css"> | ||
<link rel="stylesheet" crossorigin href="./uiMode.voC1ZiOQ.css"> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.