From c787d59a987ec601cd7b65399543afe6d37a615d Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 15 Sep 2026 12:43:53 -0300 Subject: Route mouse thumb buttons to jump history --- test/web_snapshot.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/web_snapshot.mjs') diff --git a/test/web_snapshot.mjs b/test/web_snapshot.mjs index a9cd8dff..61467c4d 100644 --- a/test/web_snapshot.mjs +++ b/test/web_snapshot.mjs @@ -82,7 +82,8 @@ async function main() { if (scenarioModule) { const scenario = await import(pathToFileURL(scriptPath)); - await scenario.default({ grid, touch: dispatchTouch, wait: waitUntil, stable: waitStable, delay }); + await scenario.default({ grid, touch: dispatchTouch, wait: waitUntil, stable: waitStable, delay, evaluate, + mouse: (event) => client.send("Input.dispatchMouseEvent", event) }); console.error(`web test ok: ${path.relative(process.cwd(), scriptPath)}`); return; } -- cgit v1.3