Skip to main content
Glama

Playwright MCP

wait_for_selector

Ensure a specific element is visible on a webpage by specifying a CSS selector and optional timeout. Automates browser interactions efficiently for testing and automation workflows.

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" }

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