Feedback

Basic information

Category
License
MIT
Transports
stdio
Author
bezkoder
Submitted by
Community

About Pwmcp MCP Server

Pwmcp is a MCP server in the Other category listed in the AddMCP.net directory, published by bezkoder. It exposes 33 tools, including start_codegen_session, end_codegen_session, get_codegen_session, clear_codegen_session and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "playwright": {
            "command": "npx",
            "args": [
                "-y",
                "@executeautomation/playwright-mcp-server"
            ]
        }
    }
}

Pwmcp MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "playwright": {
            "command": "npx",
            "args": [
                "-y",
                "@executeautomation/playwright-mcp-server"
            ]
        }
    }
}

Pwmcp MCP Server tools

  • start_codegen_session — Start a new code generation session to record Playwright actions
    options:object*
  • end_codegen_session — End a code generation session and generate the test file
    sessionId:string*
  • get_codegen_session — Get information about a code generation session
    sessionId:string*
  • clear_codegen_session — Clear a code generation session without generating a test
    sessionId:string*
  • playwright_navigate — Navigate to a URL
    url:string*, browserType:string, width:number, height:number, timeout:number, waitUntil:string, headless:boolean
  • playwright_screenshot — Take a screenshot of the current page or a specific element
    name:string*, selector:string, width:number, height:number, storeBase64:boolean, fullPage:boolean, savePng:boolean, downloadsDir:string
  • playwright_click — Click an element on the page
    selector:string*
  • playwright_iframe_click — Click an element in an iframe on the page
    iframeSelector:string*, selector:string*
  • playwright_iframe_fill — Fill an element in an iframe on the page
    iframeSelector:string*, selector:string*, value:string*
  • playwright_fill — fill out an input field
    selector:string*, value:string*
  • playwright_select — Select an element on the page with Select tag
    selector:string*, value:string*
  • playwright_hover — Hover an element on the page
    selector:string*
  • playwright_upload_file — Upload a file to an input[type='file'] element on the page
    selector:string*, filePath:string*
  • playwright_evaluate — Execute JavaScript in the browser console
    script:string*
  • playwright_console_logs — Retrieve console logs from the browser with filtering options
    type:string, search:string, limit:number, clear:boolean
  • playwright_resize — Resize the browser viewport using manual dimensions or device presets. Supports 143+ device presets including iPhone, iPad, Android devices, and desktop browsers with proper user-agent and touch emulation.
    device:string, width:number, height:number, orientation:string
  • playwright_close — Close the browser and release all resources
    (no parameters)
  • playwright_get — Perform an HTTP GET request
    url:string*, token:string, headers:object
  • playwright_post — Perform an HTTP POST request
    url:string*, value:string*, token:string, headers:object
  • playwright_put — Perform an HTTP PUT request
    url:string*, value:string*, token:string, headers:object
  • playwright_patch — Perform an HTTP PATCH request
    url:string*, value:string*, token:string, headers:object
  • playwright_delete — Perform an HTTP DELETE request
    url:string*, token:string, headers:object
  • playwright_expect_response — Ask Playwright to start waiting for a HTTP response. This tool initiates the wait operation but does not wait for its completion.
    id:string*, url:string*
  • playwright_assert_response — Wait for and validate a previously initiated HTTP response wait operation.
    id:string*, value:string
  • playwright_custom_user_agent — Set a custom User Agent for the browser
    userAgent:string*
  • playwright_get_visible_text — Get the visible text content of the current page
    (no parameters)
  • playwright_get_visible_html — Get the HTML content of the current page. By default, all <script> tags are removed from the output unless removeScripts is explicitly set to false.
    selector:string, removeScripts:boolean, removeComments:boolean, removeStyles:boolean, removeMeta:boolean, cleanHtml:boolean, minify:boolean, maxLength:number
  • playwright_go_back — Navigate back in browser history
    (no parameters)
  • playwright_go_forward — Navigate forward in browser history
    (no parameters)
  • playwright_drag — Drag an element to a target location
    sourceSelector:string*, targetSelector:string*
  • playwright_press_key — Press a keyboard key
    key:string*, selector:string
  • playwright_save_as_pdf — Save the current page as a PDF file
    outputPath:string*, filename:string, format:string, printBackground:boolean, margin:object
  • playwright_click_and_switch_tab — Click a link and switch to the newly opened tab
    selector:string*

Overview

Pwmcp tools

  • start_codegen_session: Start a new code generation session to record Playwright actions
  • end_codegen_session: End a code generation session and generate the test file
  • get_codegen_session: Get information about a code generation session
  • clear_codegen_session: Clear a code generation session without generating a test
  • playwright_navigate: Navigate to a URL
  • playwright_screenshot: Take a screenshot of the current page or a specific element
  • playwright_click: Click an element on the page
  • playwright_iframe_click: Click an element in an iframe on the page
  • playwright_iframe_fill: Fill an element in an iframe on the page
  • playwright_fill: fill out an input field
  • playwright_select: Select an element on the page with Select tag
  • playwright_hover: Hover an element on the page
  • playwright_upload_file: Upload a file to an input[type='file'] element on the page
  • playwright_evaluate: Execute JavaScript in the browser console
  • playwright_console_logs: Retrieve console logs from the browser with filtering options
  • playwright_resize: Resize the browser viewport using manual dimensions or device presets. Supports 143+ device presets including iPhone, iPad, Android devices, and desktop browsers with proper user-agent and touch emulation.
  • playwright_close: Close the browser and release all resources
  • playwright_get: Perform an HTTP GET request
  • playwright_post: Perform an HTTP POST request
  • playwright_put: Perform an HTTP PUT request
  • playwright_patch: Perform an HTTP PATCH request
  • playwright_delete: Perform an HTTP DELETE request
  • playwright_expect_response: Ask Playwright to start waiting for a HTTP response. This tool initiates the wait operation but does not wait for its completion.
  • playwright_assert_response: Wait for and validate a previously initiated HTTP response wait operation.
  • playwright_custom_user_agent: Set a custom User Agent for the browser
  • playwright_get_visible_text: Get the visible text content of the current page
  • playwright_get_visible_html: Get the HTML content of the current page. By default, all <script> tags are removed from the output unless removeScripts is explicitly set to false.
  • playwright_go_back: Navigate back in browser history
  • playwright_go_forward: Navigate forward in browser history
  • playwright_drag: Drag an element to a target location
  • playwright_press_key: Press a keyboard key
  • playwright_save_as_pdf: Save the current page as a PDF file
  • playwright_click_and_switch_tab: Click a link and switch to the newly opened tab

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬