puppeteer_close_page
Close a tab.
How to use it
puppeteer_close_page is exposed by the Puppeteer MCP Claude MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the puppeteer_close_page tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Puppeteer MCP Claude
claude mcp add puppeteer-mcp-claude -- npx -y puppeteer-mcp-claude serveOther tools in Puppeteer MCP Claude (12)
Click a CSS selector.
Close the whole browser.
Run a JS expression in page context, returns the value.
Read textContent of an element.
(Optional) launch a browser or connect to an existing Chrome via browserWSEndpoint. Use this for stealth mode, proxies, custom viewport, etc.
Go to a URL.
Open a new tab.
Capture a PNG — returned inline as an MCP image block, optionally also saved to disk.
Block resources by type or inject request headers.
Type into an input.
Wait until an element appears.
the same data as a typed JSON object, for MCP clients that prefer machine-readable output.