Skip to main content
Glama

browser_wait_for_element

Wait for specific page elements to load in dynamic web applications. Use this tool to ensure elements are present before interacting with them, particularly useful for SPAs with asynchronous content loading.

Instructions

[Disabled] Wait for an element matching the CSS selector to appear in the DOM. Polls the page until the element is found or timeout expires. For SPAs where content loads asynchronously. Set visible=true to also require the element to be visible (not hidden by CSS).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabIdYesTab ID of the page to wait on
selectorYesCSS selector to wait for
timeoutNoMax wait time in ms — defaults to 10000
visibleNoAlso require element to be visible, not display:none or visibility:hidden — defaults to false

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/opentabs-dev/opentabs'

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