---
title: "Enhanced Wait Actions For Ajax Webpages"
slug: "enhanced-wait-actions-for-ajax-webpages"
updated: 2023-01-19T21:19:20Z
published: 2023-01-19T21:19:20Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.catchpoint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enhanced Wait Actions For Ajax Webpages

Catchpoint supports two custom actions in addition to what Selenium provides. These actions do not require `()` brackets, and they can be used in place of the `pause` verb.

- [**waitForNoRequest(waitTime)**](https://docs.catchpoint.com/docs/waitForNoRequest) This action tells the agent to wait for no HTTP requests on the wire/network for the specified `waitTime` before continuing to the next action. The `waitTime` can be between 1 and 5,000ms. **Example:** `waitForNoRequest("2000")`
- **waitForURL(URL)** This action tells the agent to wait for response to a request matching the specified URL. It supports Regular Expressions to match the URL. **Example:** `waitForURL(www\.example\.com/*)`
- [**waitForElementPresent(locator, timeValue)**](https://docs.catchpoint.com/docs/waitForElementPresent) This action tells the agent to wait for the specfied element to be present. The second parameter, `timeValue`, is optionalans specifies the wait time in milliseconds. If it is not specified, the value used is 20,000ms. The maximum value it supports is 30,000ms. Example: `waitForElementPresent(//*[@id='sample'], 2000)`
