fix auto complete detect (#765)
This commit is contained in:
@@ -163,9 +163,8 @@ class SkyvernElement:
|
|||||||
if tag_name != InteractiveElement.INPUT:
|
if tag_name != InteractiveElement.INPUT:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
haspopup = await self.get_attr("aria-haspopup")
|
|
||||||
autocomplete = await self.get_attr("aria-autocomplete")
|
autocomplete = await self.get_attr("aria-autocomplete")
|
||||||
if haspopup and autocomplete:
|
if autocomplete and autocomplete == "list":
|
||||||
return True
|
return True
|
||||||
|
|
||||||
element_id = await self.get_attr("id")
|
element_id = await self.get_attr("id")
|
||||||
|
|||||||
Reference in New Issue
Block a user