Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
fix shadow host parsing issue (#1253)
LawyZheng303153b305c5
diff --git a/skyvern/webeye/scraper/domUtils.js b/skyvern/webeye/scraper/domUtils.jsindex 5eedbdb87..af79abd1d 100644--- a/skyvern/webeye/scraper/domUtils.js+++ b/skyvern/webeye/scraper/domUtils.js@@ -1234,6 +1234,11 @@ function buildElementTree(starter = document.body, frame, full_tree = false) {const childElement = children[i];processElement(childElement, shadowHostElement.id);}+ const selfChildren = getChildElements(element);+ for (let i = 0; i < selfChildren.length; i++) {+ const childElement = selfChildren[i];+ processElement(childElement, shadowHostElement.id);+ }} else {// For a non-interactable element, if it has direct text, we also tagged// it with unique_id, but with interatable=false in the element.