Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
fix interactable parsing (#2294)
Shuchang Zheng408b3d58aa70
diff --git a/skyvern/webeye/scraper/domUtils.js b/skyvern/webeye/scraper/domUtils.jsindex 775497115..9e1c913f3 100644--- a/skyvern/webeye/scraper/domUtils.js+++ b/skyvern/webeye/scraper/domUtils.js@@ -626,9 +626,10 @@ function isInteractable(element, hoverStylesMap) {}// element with pointer-events: none should not be considered as interactable+ // but for elements which are disabled, we should not use this logic to test the interactable// https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events#noneconst elementPointerEvent = getElementComputedStyle(element)?.pointerEvents;- if (elementPointerEvent === "none") {+ if (elementPointerEvent === "none" && !element.disabled) {return false;}