Skip to main content
Glama

mcp-playwright

playwright_click_and_switch_tab

Click a specified link using a CSS selector and automatically switch to the newly opened tab using Playwright for browser automation.

Instructions

Click a link and switch to the newly opened tab

Input Schema

NameRequiredDescriptionDefault
selectorYesCSS selector for the link to click

Input Schema (JSON Schema)

{ "properties": { "selector": { "description": "CSS selector for the link to click", "type": "string" } }, "required": [ "selector" ], "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/executeautomation/mcp-playwright'

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