From 5363d33dccbfb2e4a0ca33ac492e23bc2da74f0f Mon Sep 17 00:00:00 2001 From: LawyZheng Date: Tue, 15 Jul 2025 03:31:34 +0800 Subject: [PATCH] fix interactable detecting (#2941) --- skyvern/webeye/scraper/domUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyvern/webeye/scraper/domUtils.js b/skyvern/webeye/scraper/domUtils.js index e7401c40..f0bc5076 100644 --- a/skyvern/webeye/scraper/domUtils.js +++ b/skyvern/webeye/scraper/domUtils.js @@ -617,7 +617,7 @@ function isHoverPointerElement(element, hoverStylesMap) { // Check if element has hover styles that change cursor to pointer // This is to handle the case where an element's cursor is "auto", but resolves to "pointer" on hover - if (elementCursor === "auto") { + if (elementCursor === "auto" || elementCursor === "default") { // TODO: we need a better algorithm to match the selector with better performance for (const [selector, styles] of hoverStylesMap) { let shouldMatch = false;