make browser download timeout configurable for blocks and tasks (#3619)

This commit is contained in:
Jonathan Dobson
2025-10-06 11:09:20 -04:00
committed by GitHub
parent a9d0280336
commit a758b03861
11 changed files with 60 additions and 5 deletions

View File

@@ -422,6 +422,7 @@ class BaseTaskBlock(Block):
cache_actions: bool = False
complete_verification: bool = True
include_action_history_in_verification: bool = False
download_timeout: float | None = None # minutes
def get_all_parameters(
self,
@@ -631,6 +632,7 @@ class BaseTaskBlock(Block):
failure_reason=str(e),
)
raise e
try:
# add screenshot artifact for the first task
screenshot = await browser_state.take_fullpage_screenshot(