Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
extend auto completion coverage (#2184)
Shuchang Zheng9d286a059d4d
diff --git a/skyvern/webeye/utils/dom.py b/skyvern/webeye/utils/dom.pyindex 0c546add9..5e6282d82 100644--- a/skyvern/webeye/utils/dom.py+++ b/skyvern/webeye/utils/dom.py@@ -148,12 +148,16 @@ class SkyvernElement:if tag_name != InteractiveElement.INPUT:return False- autocomplete = await self.get_attr("aria-autocomplete")- if autocomplete and autocomplete == "list":+ data_bind: str | None = await self.get_attr("data-x-bind")+ if data_bind and "autocomplete" in data_bind.lower():+ return True++ autocomplete: str | None = await self.get_attr("aria-autocomplete")+ if autocomplete and autocomplete.lower() == "list":return Trueclass_name: str | None = await self.get_attr("class")- if class_name and "autocomplete-input" in class_name:+ if class_name and "autocomplete-input" in class_name.lower():return Truereturn False