--- title: "Deal with content that loads after the page loads - Content Scraping" slug: "how-do-i-set-a-page-of-actions-to-wait-for-ajax" description: "AJAX is a set of techniques and technologies for creating interactive websites. When a site has a lot of content to load, telling your agent to wait can allow more time for the content to be displayed and loaded." tags: ["big websites", "alot of content", "wait", "more time", "AJAX", "wait seconds", "new page"] updated: 2024-05-14T12:09:39Z published: 2024-05-14T12:09:39Z canonical: "help.mozenda.com/how-do-i-set-a-page-of-actions-to-wait-for-ajax" --- > ## 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. # Deal with content that loads after the page loads Anychronous loading and XML (AJAX) is a technique that allows a web page to send and receive data without reloading the entire page. A common example is a search page that loads additional results as the user scrolls down. If you don't account for asynchronous loading when building an agent, the agent might perform an action before all of the required content has time to load. This can lead to incomplete data or errors. The Agent Builder has a built-in feature to resolve this issue. In the Agent Builder: 1. Right-click the title page, for example, **Page 2** in the Actions List. 2. Select **Properties**. ![How do I set a page actions to wait for AJAX_Image1(1)](https://cdn.document360.io/03076343-9561-4857-8a4e-9f3bfed20ced/Images/Documentation/How%20do%20I%20set%20a%20page%20actions%20to%20wait%20for%20AJAX_Image1%281%29.png) 1. Select **AFTER LOADING THIS PAGE** 2. Select **Wait for AJAX to alter this page when it is done loading** . The agent waits for AJAX to update the page before performing any actions on this page. ![How do I set a page actions to wait for AJAX_Image2(1)](https://cdn.document360.io/03076343-9561-4857-8a4e-9f3bfed20ced/Images/Documentation/How%20do%20I%20set%20a%20page%20actions%20to%20wait%20for%20AJAX_Image2%281%29.png) 1. Select **SAVE**.