20260820223837

This commit is contained in:
oneao committed 2026-08-20 22:38:37 +08:00
1 parent 68ac5db038
commit 45854b0570
48 files changed
+7545 -650

No files matched your search

@@ -0,0 +1,15 @@
import { chromium } from 'playwright-core'
const BASE = 'http://localhost:5082'
const browser = await chromium.launch({
headless: true,
executablePath: `${process.env.LOCALAPPDATA}\\ms-playwright\\chromium-1232\\chrome-win64\\chrome.exe`,
})
const page = await browser.newPage()
const resp = await page.request.get(`${BASE}/src/components/ui/splitter/splitter.vue?t=${Date.now()}`)
const text = await resp.text()
const i = text.indexOf('panelItems')
console.log('--- around panelItems ---')
console.log(text.slice(Math.max(0, i - 400), i + 900))
await browser.close()