--- title: "Add \"wait up to\" seconds - Mozenda Web Harvesting Tool" slug: "wait-up-to-seconds" description: "You can't always predict how quickly the content on a web page will load. This can lead to the agent looking for data before a website has loaded. Mozenda Web Harvesting Tool" updated: 2024-05-14T14:04:11Z published: 2024-05-14T14:04:11Z canonical: "help.mozenda.com/wait-up-to-seconds" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mozenda.com/llms.txt > Use this file to discover all available pages before exploring further. # Add "wait up to" seconds You can't always predict how quickly the content on a web page will load. This can lead to the agent looking for data before a website has loaded or before some necessary content has loaded. This leads to the agent capturing incomplete data or throw errors. It's helpful to build your agents so they can tolerate different loading speeds. The best way to do this is to use "wait up to" seconds settings on your actions and at the page level. ### Allow an action to wait longer for its elements to be found In the Agent Builder: 1. Open an agent. 2. Right-click on any of the location-based actions (*Capture*, *Begin Item List*, *Click Item*, etc.) you have already created in the Actions List. 3. Select **Properties**. 4. Select **ERROR HANDLING**. 5. Increase the time in **Wait up to _ seconds for this action to be found**. ![99.CaptureTextErrorHandling](https://cdn.document360.io/03076343-9561-4857-8a4e-9f3bfed20ced/Images/Documentation/99.CaptureTextErrorHandling.png) 1. Select **SAVE**. ### Allow a page to finish loading In the Agent Builder: 1. Open an agent. 2. Right-click next to **Page** number in Actions List. ![pagenumber](https://cdn.document360.io/03076343-9561-4857-8a4e-9f3bfed20ced/Images/Documentation/pagenumber.PNG) 1. Select **Properties**. 2. Select **AFTER LOADING THIS PAGE**. 3. Increase the time in **Wait up to __ seconds for this page to load**. 4. Select **SAVE**.