From 537cb793a6f24d0ae01f31457e9e4e02a8d733ef Mon Sep 17 00:00:00 2001 From: LawyZheng Date: Sun, 4 Jan 2026 15:25:56 +0800 Subject: [PATCH] fix scrolling action (#4389) --- skyvern/webeye/actions/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyvern/webeye/actions/handler.py b/skyvern/webeye/actions/handler.py index 4833b498..f5c64588 100644 --- a/skyvern/webeye/actions/handler.py +++ b/skyvern/webeye/actions/handler.py @@ -2187,7 +2187,7 @@ async def handle_scroll_action( ) -> list[ActionResult]: if action.x and action.y: await page.mouse.move(action.x, action.y) - await page.evaluate(f"window.scrollBy({action.scroll_x}, {action.scroll_y})") + await page.mouse.wheel(action.scroll_x, action.scroll_y) return [ActionSuccess()]