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>
17 lines
811 B
JavaScript
17 lines
811 B
JavaScript
const { chromium } = require('@playwright/test');
|
|
(async () => {
|
|
const browser = await chromium.launch();
|
|
const page = await browser.newPage();
|
|
await page.goto('https://geograsim.at/heli-game?mission=m1');
|
|
await page.waitForTimeout(4000);
|
|
const r = await page.evaluate(() => {
|
|
const allBtns = Array.from(document.querySelectorAll('button, [role="button"]')).map(b => ({
|
|
id: b.id, cls: (b.className||'').substring(0,40), txt: (b.textContent||'').trim().substring(0,40), hidden: b.hidden
|
|
}));
|
|
const allStartLike = allBtns.filter(b => /start|freigabe|release/i.test(b.id + ' ' + b.cls + ' ' + b.txt));
|
|
return { total: allBtns.length, startLike: allStartLike.slice(0,10), first10: allBtns.slice(0,5) };
|
|
});
|
|
console.log(JSON.stringify(r, null, 2));
|
|
await browser.close();
|
|
})();
|