Files
geograsim/.dontDeploy/playwright/prod-idle-check.js
T
Adminator 1e51ef7def Nachtrag: alle bisher untracked Ordner + hängende Änderungen mit-committen
- Konzept/, didaktik_geografie/, didaktik_simulation/, v2-modules/, v2-platform/
- 12 code-workspace-Files
- STATUS-*.md
- viele M/D/R-Änderungen an bereits getrackten Files
- .gitignore verstärkt: **/.humaninput/, **/secret_keys.txt

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-08 02:27:02 +02:00

18 lines
744 B
JavaScript

const { chromium } = require('@playwright/test');
(async () => {
const browser = await chromium.launch();
const page = await browser.newPage();
await page.goto('https://geograsim.at/fluss?level=1');
await page.waitForTimeout(3000);
const out = await page.evaluate(() => ({
hasLive: typeof window.__GGS_LIVE__ === 'object',
activeMs: window.__GGS_LIVE__ && window.__GGS_LIVE__.activeMs,
idleMs: window.__GGS_LIVE__ && window.__GGS_LIVE__.idleMs,
maxSession: window.__GGS_LIVE__ && window.__GGS_LIVE__.MAX_SESSION_MS,
fluss: window.GGS_LIVE_STATE && window.GGS_LIVE_STATE(),
}));
console.log('Prod Fluss after 3s:');
console.log(JSON.stringify(out, null, 2));
await browser.close();
})();