Playwright : ausgewählte Element rot färben

This commit is contained in:
ISA
2025-08-14 13:39:20 +02:00
parent 3753babf5f
commit fa92004d94
11 changed files with 339 additions and 44 deletions

14
playwright/fixtures.ts Normal file
View File

@@ -0,0 +1,14 @@
/* eslint-disable react-hooks/rules-of-hooks */
import { test as base } from "@playwright/test";
import { installElementHighlighter } from "./utils/element-highlighter";
import { installMouseOverlay } from "./utils/mouse-overlay";
export const test = base.extend({
page: async ({ page }, use) => {
await installElementHighlighter(page);
await installMouseOverlay(page);
await use(page);
},
});
export const expect = base.expect;