Adjusting these values may impact scan time because they adjust how long each browser waits for various activities to complete.
{{</alert>}}
### Page readiness timeouts
Page readiness refers to the state when a page has loaded completely, its DOM has stabilized, and interactive elements are available. Proper page readiness detection is crucial for:
-**Scanning accuracy**: Analyzing pages before they're fully loaded can miss content or produce false negatives.
-**Crawl efficiency**: Waiting too long wastes scanning time, while not waiting enough misses dynamic content.
-**Modern web application support**: Single-page applications, AJAX-heavy sites, and progressive loading patterns require sophisticated readiness detection.
Using a sequence of optional configurable timeouts, the DAST scanner can detect when different parts of a page have loaded completely.
#### Timeout variables
Use the following CI/CD variables to customize DAST page readiness timeouts.
For a comprehensive list, see [Available CI/CD variables](variables.md).
| Timeout Variable | Default | Description |
|:-----------------|:--------|:------------|
| `DAST_PAGE_READY_AFTER_NAVIGATION_TIMEOUT` | `15s` | The maximum amount of time to wait for a browser to navigate from one page to another. Used during the Document Load phase for full page loads. |
| `DAST_PAGE_READY_AFTER_ACTION_TIMEOUT` | `7s` | The maximum amount of time to wait for a browser to consider a page loaded and ready for analysis. Used as an alternative to `DAST_PAGE_READY_AFTER_NAVIGATION_TIMEOUT` for in-page actions that don't trigger a full page load. |
| `DAST_PAGE_DOM_STABLE_WAIT` | `500ms` | Define how long to wait for updates to the DOM before checking a page is stable. Used at the beginning of the client-side render phase. |
| `DAST_PAGE_DOM_READY_TIMEOUT` | `6s` | The maximum amount of time to wait for a browser to consider a page loaded and ready for analysis after a navigation completes. Controls waiting for background data fetching and DOM rendering. |
| `DAST_PAGE_IS_LOADING_ELEMENT` | None | Selector that when no longer visible on the page, indicates to the analyzer that the page has finished loading and the scan can continue. Marks the end of the client-side render process. |
#### Page loading workflow
Modern web applications load in multiple stages. The DAST scanner has specific timeouts for
each step in the process:
1.**Document loading**: The browser fetches and processes the basic page structure.
1. Fetch HTML content from the server.
1. Load referenced CSS and JavaScript files.
1. Parse content and renders the initial page.
1. Trigger the standard "document ready" event.
This phase uses either `DAST_PAGE_READY_AFTER_NAVIGATION_TIMEOUT` (for full page loads) or `DAST_PAGE_READY_AFTER_ACTION_TIMEOUT` (for in-page actions), which sets the maximum wait time for document loading.
1.**Client-Side rendering**: After initial loading, many single-page applications: