Skip to main content
Glama

MCP Browser Server

by Wladastic

wait_for_element

Waits for a web element to reach a specified state (visible, hidden, attached, detached) using a CSS selector within a defined timeout, ensuring proper web automation and interaction timing.

Instructions

Wait for an element to appear or disappear

Input Schema

NameRequiredDescriptionDefault
selectorYesCSS selector for the element
stateNoState to wait forvisible
timeoutNoTimeout in milliseconds

Input Schema (JSON Schema)

{ "properties": { "selector": { "description": "CSS selector for the element", "type": "string" }, "state": { "default": "visible", "description": "State to wait for", "enum": [ "attached", "detached", "visible", "hidden" ], "type": "string" }, "timeout": { "default": 30000, "description": "Timeout in milliseconds", "type": "number" } }, "required": [ "selector" ], "type": "object" }

Other Tools from MCP Browser Server

Related Tools

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/Wladastic/mcp-browser-server'

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