Free Motion Capture for Everyone πβ¨
TypeScript
import {_electron as electron, expect, test} from "@playwright/test";
test("homepage has title and links to intro page", async () => {
const app = await electron.launch({args: [".", "--no-sandbox"]});
const page = await app.firstWindow();
expect(await page.title()).toBe("Electron + Vite + React");
await page.screenshot({path: "e2e/screenshots/example.png"});
});