Skip to main content
Glama

Playwright MCP Server

by BhanuTJ93

playwright_click_and_switch_tab

Automate clicking a link and switching to the newly opened tab in a browser using Playwright MCP Server. Requires a CSS selector to identify the link.

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/BhanuTJ93/MCP'

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