Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
hardcode a hover style parsing (#876)
LawyZheng7e58ebca8529
diff --git a/skyvern/webeye/scraper/domUtils.js b/skyvern/webeye/scraper/domUtils.jsindex e7cf969c8..96fd00b7f 100644--- a/skyvern/webeye/scraper/domUtils.js+++ b/skyvern/webeye/scraper/domUtils.js@@ -457,8 +457,13 @@ function isInteractable(element) {tagName === "i") {const computedStyle = window.getComputedStyle(element);- const hasPointer = computedStyle.cursor === "pointer";- return hasPointer;+ if (computedStyle.cursor === "pointer") {+ return true;+ }+ // FIXME: hardcode to fix the bug about hover style now+ if (element.className.toString().includes("hover:cursor-pointer")) {+ return true;+ }}return false;