# Playwright

**Type:** Official

**Source Type:** Local Package

**Source:** [npm](https://www.npmjs.com/package/@playwright/mcp)

**Description:** Playwright MCP server provides AI assistants with browser-automation capabilities for end-to-end testing and web scraping. It runs locally and requires Playwright's browser binaries to be installed on the host.

***

## Setup

### Prerequisites

Run `npx playwright install` on the host once to install browser binaries before first use.

**Configuration Parameters:**

* **Browser** (optional) - Browser to drive: `chrome` (default), `chromium`, `msedge`, `firefox`, or `webkit`.

When creating the connection in Natoma, enter the values above.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.natoma.ai/apps/playwright-local.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
