const { chromium } = require('@playwright/test'); (async () => { const browser = await chromium.launch(); const page = await browser.newPage(); const errors = []; page.on('pageerror', e => errors.push('PAGE:' + e.message.substring(0,150))); page.on('console', m => { if (m.type()==='error') errors.push('CON:'+m.text().substring(0,150)); }); const res = await page.goto('https://geograsim.at/entscheidungstag'); console.log('status:', res?.status()); await page.waitForTimeout(3000); const info = await page.evaluate(() => ({ lib: typeof window.GgsQuickIntro, conv: typeof window.GGS_TUTORIAL, live: typeof window.__GGS_LIVE__, body: document.querySelector('body > *:first-child')?.tagName, title: document.title, })); console.log(JSON.stringify(info, null, 2)); if (errors.length) console.log('errors:', errors.slice(0,8)); await browser.close(); })();