Files
geograsim/.dontDeploy/playwright/wal-screenshot.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

15 lines
667 B
JavaScript

const { chromium } = require('@playwright/test');
(async () => {
const browser = await chromium.launch();
const ctx = await browser.newContext({ viewport: { width: 1280, height: 900 } });
await ctx.addInitScript(() => localStorage.setItem('wal.tutorial.seen', '1'));
const page = await ctx.newPage();
await page.goto('http://localhost/geograsim/App/sims/wal/game.html');
await page.waitForTimeout(800);
await page.click('[data-era-cta="1850"]');
await page.waitForTimeout(1500);
await page.screenshot({ path: 'c:/xampp/htdocs/geograsim/.dontDeploy/playwright/wal-after-1850.png' });
console.log('saved screenshot');
await browser.close();
})();