Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Update dom script with angular bindings (#707)
Kerem Yilmazfaf939d29de7
diff --git a/skyvern/webeye/scraper/domUtils.js b/skyvern/webeye/scraper/domUtils.jsindex 687ee7208..4961ecfd8 100644--- a/skyvern/webeye/scraper/domUtils.js+++ b/skyvern/webeye/scraper/domUtils.js@@ -270,6 +270,12 @@ function isScriptOrStyle(element) {return tagName === "script" || tagName === "style";}+function hasAngularClickBinding(element) {+ return (+ element.hasAttribute("ng-click") || element.hasAttribute("data-ng-click")+ );+}+function hasWidgetRole(element) {const role = element.getAttribute("role");if (!role) {@@ -389,6 +395,10 @@ function isInteractable(element) {return true;}+ if (tagName === "div" && hasAngularClickBinding(element)) {+ return true;+ }+// support listbox and options underneath it// div element should be checked here before the css pointerif (