Remove stray diagnostic script committed by accident

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-08-15 10:52:55 -05:00
parent 086e64b3f6
commit 95bc5bc90f
-15
View File
@@ -1,15 +0,0 @@
import { chromium } from 'playwright';
const b = await chromium.launch();
const p = await b.newPage({ viewport: { width: 1200, height: 900 } });
await p.goto('http://localhost:3107/?t=' + Math.floor(Math.random()*1e9), { waitUntil: 'networkidle' });
const mine = p.locator('.card', { hasText: 'you should ask hard questions' }).first();
const r = await mine.evaluate(el => ({
inlineTextAlign: el.style.textAlign,
inlinePadding: el.style.padding,
inlineBorderColor: el.style.borderColor,
cssTextLen: el.style.cssText.length,
cssText: el.style.cssText,
computed: getComputedStyle(el).textAlign,
}));
console.log(JSON.stringify(r, null, 2));
await b.close();