TypeScript 97.4%
SQL 1%
JavaScript 0.9%
CSS 0.6%
1import { chromium } from "@playwright/test";2const b = await chromium.launch();3const p = await b.newPage({ viewport: { width: 1440, height: 900 } });4await p.goto("https://www.polyllm.io/", { waitUntil: "networkidle" });5const h = await p.evaluate(() => document.documentElement.scrollHeight);6console.log("page height", h);7for (const y of [1400, 3200, 5200, 7200, 9200]) {8 await p.evaluate((yy) => window.scrollTo(0, yy), y);9 await p.waitForTimeout(900);10 await p.screenshot({ path: `qa/out/prod-desktop-home-y${y}.png` });11}12await b.close();13