Release Notes
Version 1.0.11 (December 2025)β
- Enhanced API Authentication: Added Bearer token authentication support for all API methods (GET, POST, PUT, PATCH, DELETE)
await playwright_get({
url: 'https://api.example.com/protected-data',
token: 'your-bearer-token'
}); - Custom Headers Support: Added custom headers parameter for flexible authentication (Basic auth, API keys, etc.)
await playwright_post({
url: 'https://api.example.com/data',
value: '{"name":"test"}',
headers: {
'X-API-Key': 'your-api-key'
}
}); - Code Quality Improvements:
- Added TypeScript interfaces (
BaseRequestArgs,RequestWithBodyArgs) - Created
buildHeaders()andvalidateHeaders()helper functions - Improved error handling and validation
- Added TypeScript interfaces (
- Test Coverage: Added 8 new edge case tests, 150 tests passing with 88.37% code coverage
- Backward Compatibility: All changes are fully backward compatible, new parameters are optional
Version 1.0.10 (December 2025)β
- Device Emulation for
playwright_resize: Added support for 143 pre-configured device presets (iPhone, iPad, Pixel, Galaxy, Desktop)await playwright_resize({ device: "iPhone 13" });
await playwright_resize({ device: "iPad Pro 11", orientation: "landscape" }); - Device Emulation Features: Accurate viewport dimensions, proper user-agent strings, touch event support, device pixel ratio, mobile/desktop detection
- Supported Devices: iOS (iPhone SE through 15 series, iPads), Android (Pixel, Galaxy), Desktop browsers (Chrome, Firefox, Safari)
- Natural Language Support: Users can use simple prompts like "Test on iPhone 13" or "Rotate to landscape"
- New Documentation: Added Resize-Prompts-Guide.md and Device-Quick-Reference.md
- Device Discovery Tool:
node scripts/list-devices.cjsto list all available devices - Test Coverage: 134 tests passing (111 existing + 23 new) with 98% code coverage
- Backward Compatibility: Manual width/height dimensions still work as before
Version 1.0.9 (December 2025)β
- Critical Fix: Console output buffering issue when running via
npx - Problem: Users saw no console output when running
npx @executeautomation/playwright-mcp-server --port 8931 - Solution: Replaced
console.log()withprocess.stdout.write()for immediate, unbuffered output - Impact: Users now see immediate console output including server initialization, startup confirmation, endpoints, and configuration examples
- Files Changed:
src/index.tsandsrc/http-server.ts
Version 1.0.8 (December 2025)β
- Console Output Improvements: Changed console output from
stderrtostdoutfor better visibility in HTTP mode - Server Startup: Now displays initialization message and complete server startup information
- Better UX: Shows listening address, available endpoints, client configuration example, and monitoring server info
Version 1.0.7 (December 2025)β
- HTTP/SSE Transport Mode: Added standalone HTTP server mode with Server-Sent Events support
playwright-mcp-server --port 8931 - Configuration Example:
{
"mcpServers": {
"playwright": {
"url": "http://localhost:8931/mcp",
"type": "http"
}
}
} - Key Features: Multiple concurrent client sessions, health check endpoint (
/health), graceful shutdown, session isolation - Security: Server binds to 127.0.0.1 (localhost only) by default for security
- Code Quality: 40% code reduction in endpoint handlers through DRY refactoring
- stdio Mode Fixes: Logging in stdio mode now writes to file only, monitoring system disabled in stdio mode
- Backward Compatibility: Default stdio mode unchanged, all existing tools work in both transport modes
- Read the full HTTP/SSE Transport Guide
Version 1.0.6β
- New Tool:
playwright_upload_file: Added a new tool to upload files to aninput[type='file']element. - Enhanced Content Extraction:
- Significantly improved
playwright_get_visible_texttool for more accurate text extraction. - Added
playwright_get_visible_htmltool to retrieve the full HTML content of the page. - By default, all
<script>tags are now removed from the HTML output forplaywright_get_visible_html(unlessremoveScripts: falseis set). Output is also truncated to a safe length (default 20,000 characters) to prevent issues with LLM clients.
- Significantly improved
- Improved Interactions:
- Updated
playwright_hoverfunctionality in the interaction tool.
- Updated
- Browser Support:
- Added support for using locally installed browsers by specifying the Chrome executable path.
- Documentation Updates:
- Added a new local setup and installation guide.
- Updated examples and documentation for the new and improved tools.
- Test Coverage:
- Added and updated tests for the new content extraction and interaction features.
- Version bump: Incremented version to 1.0.6.
Version 1.0.5β
- Removed SSE (Server-Sent Events) Support: All SSE-related code, endpoints, and documentation have been fully removed. The server now only supports STDIO transport for communication with clients.
- Codebase Cleanup: Removed all references to SseServer, /events endpoint, and related event streaming features from the code and documentation.
- Version bump: Incremented version to 1.0.5.
Version 1.0.4β
-
New Tool:
playwright_iframe_fill- Fill input fields inside iframes using CSS selectors
-
New Tool:
playwright_click_and_switch_tab- Click a link and automatically switch to the newly opened browser tab
-
Improved Error Logging
- Captures uncaught exceptions and unhandled Promise rejections in browser logs for better debugging
-
Documentation Updates
- Added/updated documentation for new tools and improved installation/configuration instructions
-
Test Coverage
- Added and updated tests for new tools and features
Version 1.0.3β
- Code Generation Capabilities: Added new code generation capability π
start_codegen_session: Start a new session to record Playwright actionsend_codegen_session: End a session and generate test fileget_codegen_session: Retrieve information about a sessionclear_codegen_session: Clear a session without generating a test- Ability to record real browser interactions and convert them to reusable Playwright tests
- Support for customizing test output path, test names, and including descriptive comments
- Enhanced Browser Navigation: Added new navigation control tools π§
playwright_go_back: Navigate back in browser historyplaywright_go_forward: Navigate forward in browser history
- Advanced Interaction: Added new interaction tools for more complex scenarios π
playwright_drag: Drag elements from one location to anotherplaywright_press_key: Press keyboard keys with optional element focus
- Output Capabilities: Added content export functionality π
playwright_save_as_pdf: Save the current page as a PDF file with customizable options
- Content Extraction: Added tools for retrieving page content π
playwright_get_visible_text: Extract all visible text content from the current pageplaywright_get_visible_html: Get the complete HTML content of the current page
- Comprehensive test coverage for all new tools
- Updated documentation with examples and usage detail
Version 1.0.2β
- Multi-Browser Support: Added support for Firefox and WebKit browsers in addition to Chromium π
- New
browserTypeparameter forplaywright_navigatetool allows specifying browser engine - Supported browser types: "chromium" (default), "firefox", and "webkit"
- Seamless browser engine switching during automation sessions
- New
- Enhanced test coverage for different browser engines
- Updated documentation with browser-specific examples
Version 1.0.0β
- First major release of Playwright MCP Server with the tool structure changes π
- Fixed issue with headless mode in Playwright #62
- Fixed issue Navigation failed: page.goto: Target page, context or browser has been closed #63
- Completed RFC: Refactor handleToolCall for better maintainability #46
- New feature: Optional Bearer Authorization to API POST (Thanks to @CopilotMe)
- Fixed issue Exit process on host close (Thanks to @kiracih)
- New Feature: Three new tools (Thanks to @VinceOPS)
playwright_except_responseplaywright_assert_response
Scenario: Logging in requires captcha verification
Given I expect the browser to receive an HTTP response from "**/security/captcha-precheck"
When I enter "some-identifier@test.com" in the input and I submit
Then The browser should have received the HTTP response
And Its body should contain a property "captchaFamily"- A new tool
playwright_custom_user_agentto define a custom user agent.
Version 0.3.1β
- Fixed BROWSER_TOOLS as Playwright_console_logs is not required (Thanks to https://github.com/kfern)
- Added Tests for all the Playwright MCP Server tools (Thanks to https://github.com/kfern)
- Updated documentation with AI Courses
- Gen AI Course Details here
- AI Agents Course Details here
- Machine Learning Course Details here
Version 0.3.0β
- Added support for
Playwright_console_logsto get the console logs from the browser. Following logs types are supported.More Detail available hereloginfowarnerrordebugexceptionall
Usage Example
To invoke Playwright_console_logs via MCP Playwright, use the following prompt:
Get the console log from the browser whenever you perform any action.
- Added support for
Playwright_closeto close the browser and release all resources.
Usage Example
To invoke Playwright_close via MCP Playwright, use the following prompt:
Close the browser once the operation is completed.
Version 0.2.9β
- Fixed Screenshot issue with Cline, Cursor and Windows 11 (Reported by @MackDing, @mengjian-github)
Version 0.2.8β
- Support of iFrame while running Playwright test via MCP (Supports Cline as well). Thanks to @VinceOPS
- Fixed issue while saving PNG file. Thanks to @BayLee4
- Fixed issue with full page screenshot arguments to be passed to tool, thanks for the report @unipro-LeighMason
- Updated to latest version of Playwright and MCP Server library
Version 0.2.7β
- Fixed the issue with Playwright MCP server not working Cline, VSCode reported in #26, #16
- Fixed issue #28 and now chrome version is updated
- Updated to latest version of Playwright and MCP Server library
Version 0.2.6β
- New Documentation site powered by docusaurus hosted in GH-Pages https://executeautomation.github.io/mcp-playwright/
Version 0.2.5β
API Test Supportβ
-
Playwright MCP Server now supports API Testing for
GETrequestPOSTrequestPUTrequestPATCHrequestDELETErequest
Version 0.2.4β
- Added support for smithery
- Added Support to save Playwright screenshot in local directory, thanks to
@s4l4x
Version 0.2.3β
- Added quality of life improvement