From f985bcd95b82a757b3ea73939743534957df71f0 Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Fri, 23 May 2025 01:30:35 -0700 Subject: [PATCH] select bugfix (#2439) --- skyvern/webeye/actions/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyvern/webeye/actions/handler.py b/skyvern/webeye/actions/handler.py index b0037c84..4788f033 100644 --- a/skyvern/webeye/actions/handler.py +++ b/skyvern/webeye/actions/handler.py @@ -3140,7 +3140,7 @@ async def normal_select( ) -> List[ActionResult]: try: current_text = await skyvern_element.get_attr("selected") - if current_text == action.option.label or current_text == action.option.value: + if current_text and (current_text == action.option.label or current_text == action.option.value): return [ActionSuccess()] except Exception: LOG.info("failed to confirm if the select option has been done, force to take the action again.")