Skip to content

Automate browser based workflows with AI

When replaying cached actions, ignore input_text action with empty text (#1763)

Shuchang Zheng866a16ec99e6
diff --git a/skyvern/webeye/actions/caching.py b/skyvern/webeye/actions/caching.py
index 292c2d3c1..ce0ceeb2c 100644
--- a/skyvern/webeye/actions/caching.py
+++ b/skyvern/webeye/actions/caching.py
@@ -213,6 +213,8 @@ async def personalize_action(
if action.action_type == ActionType.INPUT_TEXT:
action.text = answer
+ if not answer:
+ return []
elif action.action_type == ActionType.UPLOAD_FILE:
action.file_url = answer
elif action.action_type == ActionType.CLICK: