const { chromium } = require('@playwright/test'); (async () => { const browser = await chromium.launch(); const page = await browser.newPage(); const res = await page.goto('http://localhost/geograsim/App/heli-game'); console.log('status:', res?.status()); await page.waitForTimeout(1500); const t = await page.title(); console.log('title:', t); const text = await page.locator('body').innerText({ timeout: 2000 }).catch(()=>null); console.log('text head:', (text || '').substring(0, 200)); await browser.close(); })();