Files
bitvid/bitvid-working-webtorrent/debug_sidebar.mjs
T
2026-02-01 13:21:48 -05:00

21 lines
747 B
JavaScript

import { chromium } from 'playwright';
(async () => {
const browser = await chromium.launch({ headless: true });
const page = await browser.newPage();
console.log('Navigating to index.html...');
// We need to serve the file. I'll assume I can run this against the dev server if I start one,
// or I can just use file:// if I build?
// But the test uses /index.html, so it expects a server.
// I will rely on `npm run start` being active or I need to start it.
// Since I cannot easily start the server and keep it running in this environment without blocking,
// I will assume the issue is static analysis or I need to fix it blindly.
// However, I can inspect the CSS file content I read.
await browser.close();
})();