refactor(browser): simplify control API

This commit is contained in:
Peter Steinberger
2025-12-20 03:27:12 +00:00
parent 06806a1ea1
commit 235f3ce0ba
23 changed files with 776 additions and 2214 deletions

View File

@@ -100,7 +100,7 @@ describe("pw-ai", () => {
).mockResolvedValue(browser);
const mod = await importModule();
await mod.clickRefViaPlaywright({
await mod.clickViaPlaywright({
cdpPort: 18792,
targetId: "T1",
ref: "76",
@@ -135,7 +135,7 @@ describe("pw-ai", () => {
const mod = await importModule();
await mod.snapshotAiViaPlaywright({ cdpPort: 18792, targetId: "T1" });
await mod.clickRefViaPlaywright({
await mod.clickViaPlaywright({
cdpPort: 18792,
targetId: "T1",
ref: "1",