feat: add hover action support (#3994)

Co-authored-by: LawyZheng <lawyzheng1106@gmail.com>
This commit is contained in:
Mohamed Khalil
2025-12-09 17:27:26 +02:00
committed by GitHub
parent 0e8d667959
commit f49b07f30d
22 changed files with 281 additions and 13 deletions

View File

@@ -27,6 +27,7 @@ from skyvern.webeye.actions.actions import (
DownloadFileAction,
DragAction,
GotoUrlAction,
HoverAction,
InputOrSelectContext,
InputTextAction,
KeypressAction,
@@ -166,6 +167,9 @@ def parse_action(
if action_type == ActionType.WAIT:
return WaitAction(**base_action_dict)
if action_type == ActionType.HOVER:
return HoverAction(**base_action_dict, hold_seconds=action.get("hold_seconds", 0) or 0)
if action_type == ActionType.COMPLETE:
return CompleteAction(
**base_action_dict,