Skip to content

Automate browser based workflows with AI

add reload action validate (#1598)

Shuchang Zheng74d9c65e5435
diff --git a/skyvern/webeye/actions/actions.py b/skyvern/webeye/actions/actions.py
index 7e0149484..aa96b1ba5 100644
--- a/skyvern/webeye/actions/actions.py
+++ b/skyvern/webeye/actions/actions.py
@@ -148,6 +148,8 @@ class Action(BaseModel):
return WaitAction.model_validate(value)
elif action_type is ActionType.SOLVE_CAPTCHA:
return SolveCaptchaAction.model_validate(value)
+ elif action_type is ActionType.RELOAD_PAGE:
+ return ReloadPageAction.model_validate(value)
else:
raise ValueError(f"Unsupported action type: {action_type}")
else: