const { chromium } = require('@playwright/test'); (async () => { const browser = await chromium.launch(); const ctx = await browser.newContext(); // 1) live-client.js enthält GGS_TUTORIAL-Doku? const r1 = await ctx.request.get('https://geograsim.at/assets/js/live-client.js'); const js = await r1.text(); console.log('live-client.js:'); console.log(' GGS_TUTORIAL doc:', js.includes('GGS_TUTORIAL')); console.log(' __GGS_LIVE__ :', js.includes('__GGS_LIVE__')); console.log(' activeMs :', js.includes('activeMs')); console.log(' MAX_SESSION_MS :', js.includes('MAX_SESSION_MS')); // 2) teacher.html hat fluss in LIVE_PRIMARY_FIELDS + idle-tile? const r2 = await ctx.request.get('https://geograsim.at/teacher'); const t = await r2.text(); console.log('teacher.html:'); console.log(' fluss section :', t.includes("'fluss':")); console.log(' idle tile :', t.includes('idle') && t.includes('Zeit pausiert')); console.log(' 5-col tiles :', t.includes('repeat(5,1fr)')); await browser.close(); })();