1e51ef7def
- 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>
20 lines
803 B
JavaScript
20 lines
803 B
JavaScript
const { chromium } = require('@playwright/test');
|
|
(async () => {
|
|
const browser = await chromium.launch();
|
|
const sims = ['fluss?level=1', 'klima-2d', 'klima-3d'];
|
|
for (const path of sims) {
|
|
const page = await browser.newPage();
|
|
await page.goto('http://localhost/geograsim/App/' + path);
|
|
await page.waitForTimeout(2500);
|
|
const info = await page.evaluate(() => ({
|
|
hasBtn: !!document.getElementById('btn-info'),
|
|
hasReg: typeof window.GGS_TUTORIAL === 'object' && typeof window.GGS_TUTORIAL.replay === 'function',
|
|
simId: window.GGS_TUTORIAL && window.GGS_TUTORIAL.simId,
|
|
title: window.GGS_TUTORIAL && window.GGS_TUTORIAL.title,
|
|
}));
|
|
console.log(path.padEnd(20), JSON.stringify(info));
|
|
await page.close();
|
|
}
|
|
await browser.close();
|
|
})();
|