Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
do not raise error when agent hallucinate the download (#1872)
Shuchang Zheng394d4cf64bac
diff --git a/skyvern/webeye/actions/handler.py b/skyvern/webeye/actions/handler.pyindex d28a46543..ed691d27a 100644--- a/skyvern/webeye/actions/handler.py+++ b/skyvern/webeye/actions/handler.py@@ -43,7 +43,6 @@ from skyvern.exceptions import (NoAutoCompleteOptionMeetCondition,NoAvailableOptionFoundForCustomSelection,NoElementMatchedForTargetOption,- NoFileDownloadTriggered,NoIncrementalElementFoundForAutoCompletion,NoIncrementalElementFoundForCustomSelection,NoSuitableAutoCompleteOption,@@ -510,7 +509,7 @@ async def handle_click_to_download_file_action(step_id=step.step_id,workflow_run_id=task.workflow_run_id,)- return [ActionFailure(exception=NoFileDownloadTriggered(action.element_id))]+ return [ActionSuccess(download_triggered=False)]# check if there's any file is still downloadingdownloading_files = list_downloading_files_in_directory(download_dir)