mcp-server-playwright-headless

mcp-server-playwright-headless

3.2

If you are the rightful owner of mcp-server-playwright-headless and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol server that provides browser automation capabilities using Playwright in headless mode with Firefox.

The MCP Server Playwright Headless is a robust solution for automating browser tasks using Playwright in headless mode with Firefox. It offers a wide range of features including full browser automation, screenshot capture, web interaction, console log monitoring, and JavaScript execution. The server is designed to be easily deployable using Docker, and it supports integration with an external image server for managing screenshots. With comprehensive error handling and support for environment variables, it provides a reliable and flexible platform for browser automation tasks.

Features

  • Full browser automation capabilities using Firefox in headless mode
  • Screenshot capture of entire pages or specific elements
  • Comprehensive web interaction (navigation, clicking, form filling)
  • Console log monitoring
  • JavaScript execution in browser context

Tools

  1. browser_navigate

    Navigate to any URL in the browser

  2. browser_screenshot

    Capture screenshots of the entire page or specific elements

  3. browser_click

    Click elements on the page using CSS selector

  4. browser_click_text

    Click elements on the page by their text content

  5. browser_fill

    Fill out an input field

  6. browser_select

    Select an option from a dropdown using CSS selector

  7. browser_select_text

    Select an option from a dropdown by its text content

  8. browser_hover

    Hover over elements on the page using CSS selector

  9. browser_hover_text

    Hover over elements on the page by their text content

  10. browser_evaluate

    Execute JavaScript in the browser context

  11. delete_screenshot

    Delete a specific screenshot from the image server

  12. clear_screenshots

    Clear all screenshots from the image server