playwright-browser-fill-form

To fill multiple form fields at once, set values for inputs, checkboxes, and selects in a single call.

⭐6stars🔀3forks📁View on GitHub🕐Updated Jan 7, 2026⬇️1downloads

When & Why to Use This Skill

This Claude skill provides a powerful way to automate web interactions by filling multiple form fields—including textboxes, checkboxes, radio buttons, and dropdowns—in a single, efficient call. Leveraging Playwright, it simplifies complex data entry tasks, reduces manual errors, and significantly enhances the speed of browser-based automation workflows.

Use Cases

  • Automated Data Entry: Quickly populate multi-step web forms or legacy internal business applications with structured data from other sources.
  • Quality Assurance & Testing: Streamline QA processes by automatically filling out complex forms with various test cases to verify website functionality and validation logic.
  • Account Creation & Onboarding: Automate the registration process across multiple platforms by batch-filling required user information and preferences.
  • E-commerce & Survey Automation: Efficiently complete online surveys, feedback forms, or checkout processes where multiple inputs are required simultaneously.
nameplaywright-browser-fill-form
description"To fill multiple form fields at once, set values for inputs, checkboxes, and selects in a single call."

Usage

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

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

Tool Description

Fill multiple form fields

Arguments Schema

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

{
  "type": "object",
  "properties": {
    "fields": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Human-readable field name"
          },
          "type": {
            "type": "string",
            "enum": [
              "textbox",
              "checkbox",
              "radio",
              "combobox",
              "slider"
            ],
            "description": "Type of the field"
          },
          "ref": {
            "type": "string",
            "description": "Exact target field reference from the page snapshot"
          },
          "value": {
            "type": "string",
            "description": "Value to fill in the field. If the field is a checkbox, the value should be `true` or `false`. If the field is a combobox, the value should be the text of the option."
          }
        },
        "required": [
          "name",
          "type",
          "ref",
          "value"
        ],
        "additionalProperties": false
      },
      "description": "Fields to fill in"
    }
  },
  "required": [
    "fields"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

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>"}}