Skip to main content
Glama

Cloudflare Playwright MCP

Official
by cloudflare

browser_select_option

Automatically select dropdown options in web browsers using Playwright for efficient testing. Specify target elements and values to streamline interaction and validation workflows.

Instructions

Select an option in a dropdown

Input Schema

NameRequiredDescriptionDefault
elementYesHuman-readable element description used to obtain permission to interact with the element
refYesExact target element reference from the page snapshot
valuesYesArray of values to select in the dropdown. This can be a single value or multiple values.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "element": { "description": "Human-readable element description used to obtain permission to interact with the element", "type": "string" }, "ref": { "description": "Exact target element reference from the page snapshot", "type": "string" }, "values": { "description": "Array of values to select in the dropdown. This can be a single value or multiple values.", "items": { "type": "string" }, "type": "array" } }, "required": [ "element", "ref", "values" ], "type": "object" }

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/cloudflare/playwright-mcp'

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