From acae5155f5762db355ba390796e1750270076ed2 Mon Sep 17 00:00:00 2001 From: Tessa Walsh Date: Mon, 21 Jul 2025 15:52:58 -0400 Subject: [PATCH] Fix docs mistaking --waitUntil with --pageLoadTimeout (#864) Fixes https://github.com/webrecorder/browsertrix-crawler/issues/853 Corrects a documentation inaccuracy pointed out by a user --- docs/docs/user-guide/behaviors.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/docs/user-guide/behaviors.md b/docs/docs/user-guide/behaviors.md index 224211f3..a4a234be 100644 --- a/docs/docs/user-guide/behaviors.md +++ b/docs/docs/user-guide/behaviors.md @@ -35,14 +35,15 @@ To disable all behaviors, use `--behaviors ""`. ## Behavior and Page Timeouts Browsertrix includes a number of timeouts, including before, during and after running behaviors. + The timeouts are as follows: -- `--waitUntil`: how long to wait for page to finish loading, *before* doing anything else. +- `--pageLoadTimeout`: how long to wait for page to finish loading, *before* doing anything else. - `--postLoadDelay`: how long to wait *before* starting any behaviors, but after page has finished loading. A custom behavior can override this (see below). - `--behaviorTimeout`: maximum time to spend on running site-specific / Autoscroll behaviors (can be less if behavior finishes early). - `--pageExtraDelay`: how long to wait *after* finishing behaviors (or after `behaviorTimeout` has been reached) before moving on to next page. -A site-specific behavior (or Autoscroll) will start after the page is loaded (at most after `--waitUntil` seconds) and exactly after `--postLoadDelay` seconds. +A site-specific behavior (or Autoscroll) will start after the page is loaded (at most after `--pageLoadTimeout` seconds) and exactly after `--postLoadDelay` seconds. The behavior will then run until finished or at most until `--behaviorTimeout` is reached (90 seconds by default).