Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
JavaScript
123456789101112131415161718192021222324252627#!/usr/bin/env node// test-panel-open.mjs - Test auto-opening the AC panel
import { createCDP } from './cdp.mjs';
console.log('🧪 Testing AC panel auto-open...\n');
try { const cdp = await createCDP({ verbose: true, ensurePanel: true }); console.log('\n✅ Successfully connected!'); const info = await cdp.getPageInfo(); console.log(`\n📄 Page Info:`); console.log(` URL: ${info.url}`); console.log(` Title: ${info.title}`); console.log(` Has Bios: ${info.hasACBios}`); cdp.close();} catch (err) { console.error(`\n❌ Error: ${err.message}`); process.exit(1);}