aboutsummaryrefslogtreecommitdiff
path: root/src/domains/scroll.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/domains/scroll.ts')
-rw-r--r--src/domains/scroll.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/domains/scroll.ts b/src/domains/scroll.ts
index 2bd2ed1..f29e931 100644
--- a/src/domains/scroll.ts
+++ b/src/domains/scroll.ts
@@ -23,6 +23,7 @@ export const scrollTool = defineBrowserTool({
"Pass x/y to target a specific scrollable region (e.g., a div with overflow); otherwise scrolls the page at viewport center.",
],
parameters: ScrollArgs,
+ concurrency: "serialized",
async handler(args, { client }): Promise<Result<ToolOk, ToolErr>> {
const info = await client.pageInfo();
if (!info.success) return err({ kind: "cdp_error", message: info.error.message });