Skip to content

Automate browser based workflows with AI

fix auto complete detect (#765)

LawyZheng3c3e1ab949db
diff --git a/skyvern/webeye/utils/dom.py b/skyvern/webeye/utils/dom.py
index 1275d7c4c..1dedb25e6 100644
--- a/skyvern/webeye/utils/dom.py
+++ b/skyvern/webeye/utils/dom.py
@@ -163,9 +163,8 @@ class SkyvernElement:
if tag_name != InteractiveElement.INPUT:
return False
- haspopup = await self.get_attr("aria-haspopup")
autocomplete = await self.get_attr("aria-autocomplete")
- if haspopup and autocomplete:
+ if autocomplete and autocomplete == "list":
return True
element_id = await self.get_attr("id")