From 3c3e1ab949db6e7ec6d909e37925e996eb66be85 Mon Sep 17 00:00:00 2001 From: LawyZheng Date: Tue, 3 Sep 2024 02:21:07 +0800 Subject: [PATCH] fix auto complete detect (#765) --- skyvern/webeye/utils/dom.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/skyvern/webeye/utils/dom.py b/skyvern/webeye/utils/dom.py index 1275d7c4..1dedb25e 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")