Skip to content

Commit

Permalink
fix filter pick issue (#1577)
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng authored Jan 16, 2025
1 parent 92c6fdd commit 32f9c19
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions skyvern/webeye/scraper/domUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 32f9c19

Please sign in to comment.