Files
geograsim/.dontDeploy/playwright/heli-mission-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

22 lines
718 B
JavaScript

const { chromium } = require('@playwright/test');
(async () => {
const browser = await chromium.launch();
for (const url of [
'https://geograsim.at/heli-game',
'https://geograsim.at/heli-game?mission=m1',
'https://geograsim.at/heli-game?mission=m2',
]) {
const page = await browser.newPage();
await page.goto(url);
await page.waitForTimeout(2500);
const r = await page.evaluate(() => ({
btn: document.querySelectorAll('#startReleaseBtn').length,
title: document.title,
visible: document.querySelector('h1, h2')?.textContent?.substring(0,60),
}));
console.log(url.padEnd(55), JSON.stringify(r));
await page.close();
}
await browser.close();
})();