From 9eb1673cf2d40de7a9b9584138602241ff3da617 Mon Sep 17 00:00:00 2001 From: LawyZheng Date: Thu, 10 Oct 2024 09:22:20 +0800 Subject: [PATCH] extend the raw input scope (#948) --- skyvern/webeye/utils/dom.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/skyvern/webeye/utils/dom.py b/skyvern/webeye/utils/dom.py index 2d59936a..8f9c3e76 100644 --- a/skyvern/webeye/utils/dom.py +++ b/skyvern/webeye/utils/dom.py @@ -178,6 +178,10 @@ class SkyvernElement: if name.lower() in RAW_INPUT_NAME_VALUE: return True + # if input has these attrs, it expects user to type and input sth + if await self.get_attr("min") or await self.get_attr("max") or await self.get_attr("step"): + return True + return False async def is_spinbtn_input(self) -> bool: