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>
24 lines
953 B
JavaScript
24 lines
953 B
JavaScript
const { chromium } = require('@playwright/test');
|
|
(async () => {
|
|
const browser = await chromium.launch();
|
|
const ctx = await browser.newContext({ viewport: { width: 1280, height: 1500 } });
|
|
const page = await ctx.newPage();
|
|
await page.goto('https://geograsim.at/glossar?term=reisepass');
|
|
await page.waitForTimeout(2500);
|
|
const r = await page.evaluate(() => {
|
|
const txt = document.body.innerText;
|
|
return {
|
|
hasHenley: /Henley/i.test(txt),
|
|
hasBiometric: /biometrisch/i.test(txt),
|
|
hasICAO: /ICAO/i.test(txt),
|
|
hasRelated: /Verwandt|Siehe auch|Related/i.test(txt),
|
|
hasExamples: /Beispiel/i.test(txt),
|
|
hasLinks: /Henley Passport Index|BMI|Quelle/i.test(txt),
|
|
textLength: txt.length,
|
|
};
|
|
});
|
|
console.log('reisepass-Seite:', JSON.stringify(r, null, 2));
|
|
await page.screenshot({ path: 'c:/xampp/htdocs/geograsim/.dontDeploy/playwright/glossar-reisepass.png' });
|
|
await browser.close();
|
|
})();
|