Chrome Debug MCP Server

wait_for_selector

Wait for an element to appear on the page

Input Schema

NameRequiredDescriptionDefault
selectorYesCSS selector to wait for
timeoutNoOptional timeout in milliseconds
visibleNoWhether element should be visible

Input Schema (JSON Schema)

{ "properties": { "selector": { "description": "CSS selector to wait for", "type": "string" }, "timeout": { "description": "Optional timeout in milliseconds", "type": "number" }, "visible": { "description": "Whether element should be visible", "type": "boolean" } }, "required": [ "selector" ], "type": "object" }