Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
add classname invisible to dropdown detection (#2069)
Shuchang Zhengd4de0fe1a686
diff --git a/skyvern/webeye/scraper/domUtils.js b/skyvern/webeye/scraper/domUtils.jsindex cbbc48a36..b2f3fe5e8 100644--- a/skyvern/webeye/scraper/domUtils.js+++ b/skyvern/webeye/scraper/domUtils.js@@ -2174,8 +2174,11 @@ if (window.globalDomDepthMap === undefined) {}function isClassNameIncludesHidden(className) {- // some hidden elements are with the classname like `class="select-items select-hide"`- return className.toLowerCase().includes("hide");+ // some hidden elements are with the classname like `class="select-items select-hide"` or `class="dropdown-container dropdown-invisible"`+ return (+ className.toLowerCase().includes("hide") ||+ className.toLowerCase().includes("invisible")+ );}function waitForNextFrame() {