From 32f9c1938560f35062249dfc13fc0aab6f49766c Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Thu, 16 Jan 2025 03:52:08 -0800 Subject: [PATCH] fix filter pick issue (#1577) --- skyvern/webeye/scraper/domUtils.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/skyvern/webeye/scraper/domUtils.js b/skyvern/webeye/scraper/domUtils.js index 2a1a5feb..482ed723 100644 --- a/skyvern/webeye/scraper/domUtils.js +++ b/skyvern/webeye/scraper/domUtils.js @@ -804,12 +804,7 @@ const isDropdownButton = (element) => { const haspopup = element.getAttribute("aria-haspopup") ? element.getAttribute("aria-haspopup").toLowerCase() : ""; - const hasExpanded = element.hasAttribute("aria-expanded"); - return ( - tagName === "button" && - type === "button" && - (hasExpanded || haspopup === "listbox") - ); + return tagName === "button" && type === "button" && haspopup === "listbox"; }; const isSelect2Dropdown = (element) => {