Playwright Browser Install

To install the Playwright browser defined in config, run this when the browser is missing or not installed.

X-School-Academy 6bc0f66 907 B Updated

File contents

Usage

Use the MCP tool dev-swarm.request to send the payload as a JSON string:

{"server_id":"playwright","tool_name":"browser_install","arguments":{}}

Tool Description

Install the browser specified in the config. Call this if you get an error about the browser not being installed.

Arguments Schema

The schema below describes the arguments object in the request payload.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Background Tasks

If the tool returns a task id, poll the task status via the MCP request tool:

{"server_id":"playwright","method":"tasks/status","params":{"task_id":"<task_id>"}}

X-School-Academy/ai-dev-swarm/tree/main/dev-swarm/mcp-skills/playwright-browser-install commit 6bc0f662ab

Frequently asked questions

npx skillmds add x-school-academy/playwright-browser-install