Skip to main content
Glama

Playwright MCP

wait_for_selector

Pause execution until a specified element becomes visible on a webpage. Uses a selector and optional timeout to ensure reliable automation in browser tasks.

Instructions

Wait for an element to be visible on the page

Input Schema

NameRequiredDescriptionDefault
page_idNo
selectorYes
timeoutNo

Input Schema (JSON Schema)

{ "properties": { "page_id": { "type": "string" }, "selector": { "type": "string" }, "timeout": { "type": "number" } }, "required": [ "selector" ], "type": "object" }
Install Server

Other Tools from Playwright MCP

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/misanthropic-ai/playwrite-mcp'

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