Skip to main content
Glama

midscene_aiWaitFor

Monitor web pages using AI to wait for specified conditions described in natural language, automating test flows by polling until assertions become true.

Instructions

Waits until a specified condition, described in natural language, becomes true on the page. Polls the condition using AI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assertionYesCondition to monitor on the page, described in natural language.
timeoutMsNoMaximum time to wait (ms). Default: 15000
checkIntervalMsNoHow often to check the condition (ms). Default: 3000

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MauroCor/mcp-midscene'

If you have feedback or need assistance with the MCP directory API, please join our Discord server