playwright_click_and_switch_tab
Automate clicking a specified link via CSS selector and switch to the newly opened browser tab using Playwright MCP Server for efficient web interactions.
Instructions
Click a link and switch to the newly opened tab
Input Schema
Name | Required | Description | Default |
---|---|---|---|
selector | Yes | CSS 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"
}