--- title: "Configure the wait time for a Flow on Standby pop-up" slug: "configure-wait-time" tags: ["graceful exit", "graceful"] updated: 2026-08-09T15:26:40Z published: 2026-08-09T15:26:40Z canonical: "support.whatfix.com/configure-wait-time" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.whatfix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure the wait time for a Flow on Standby pop-up Wait time is the duration of time that the Whatfix algorithm takes to locate an element on a page. This time is important, especially on pages that take a while to load completely. If the wait time elapses and the element is still not found, a Flow on Standby pop-up is displayed. ### Application-specific default time Wait time is application specific. It varies based on the application load time. | Application load time | Wait time | | --- | --- | | Fast | 5 seconds | | Slow | 10 seconds | Note: Some applications might take longer to load the elements. In such cases, a Flow on Standby pop-up is displayed even if there are no changes in the elements. Whatfix recommends manually setting the wait time based on the application load time. ### Determine the wait time for a custom application Use the following steps to determine the wait time for a custom application: 1. Open a page on your application, and then right click. 2. Click **Inspect**. ![DB_Flow on standby_inspect](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/DB_Flow%20on%20standby_inspect.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A41%3A33Z&se=2026-11-12T08%3A41%3A33Z&sr=c&sp=r&sig=%2BYlWOJ0qbEi77QK6BZE710j7UjKeYzlbXjXFKIwWrOI%3D) 3. Go to the **Console** tab. ![Db_flow on standby_console](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Db_flow%20on%20standby_console.png?sv=2026-02-06&spr=https&st=2026-11-12T07%3A41%3A33Z&se=2026-11-12T08%3A41%3A33Z&sr=c&sp=r&sig=%2BYlWOJ0qbEi77QK6BZE710j7UjKeYzlbXjXFKIwWrOI%3D) 4. Refresh the page, and then run the following code in the console, ```plaintext window.onload = function () {     var loadTime = window.performance.timing.domContentLoadedEventEnd-window.performance.timing.navigationStart;     console.log('Page load time is '+ loadTime); } ``` Info - Once the page is completely loaded, the load time is shown in milliseconds. - Run the code on different pages of the application and record the load time. - The wait time must be at least twice the highest load time. ### Configure the wait time Wait time is the product of retry gap and step retries. **Wait time(milliseconds)= retry gap * step retries** where, **retry gap** is the time interval between each time Whatfix searches for the element. **step retries** are the number of times Whatfix searches for the element. To configure the retry gap and the step retry attempts for the pop-up to be displayed, add the following script in the **Advanced customization** section, ```plaintext window._wfx_settings = window._wfx_settings || {}; window._wfx_settings.step_configurations = {     "retry_gap_in_ms": 2000,     "step_retries": 4 }; ``` Note: - Replace the values for **retry_gap_in_ms** and **step_retries** as required. - In the mentioned code, Whatfix searches for the element 4 times with an interval of 2 seconds between each search. your title goes here The Flow on Standby pop-up does not appear after a wait time of 20 seconds, irrespective of the custom duration set. ## Related - [Flow on Standby pop-up not appearing](/flow-on-standby-popup-not-appearing.md)