hybrid-automation-framework
Verified Safeby Sandeep850-bit
Overview
A Java-based test automation framework supporting web UI testing with Playwright, data-driven testing, and optional integration with an external Model Context Protocol (MCP) server for remote execution of browser actions.
Installation
mvn clean testEnvironment Variables
- browser
- headless
- baseUrl
- mcp.enabled
- mcp.endpoint
- mcp.timeout
- implicit.wait
- explicit.wait
- page.load.timeout
- screenshot.on.failure
- screenshot.on.success
- screenshot.dir
- data.file.path
- log.level
Security Notes
The provided code is primarily a client for an external MCP server, not the server itself. While the client framework itself has no malicious patterns, hardcoded *sample* credentials (`superuser@sks`, `Welcome1`) are present for testing purposes in `AppConstant.java` and `TestConfiguration.java` which should be overridden or managed securely in production test environments. The `mcp.endpoint` is configurable (`http://localhost:8080` by default); configuring it to an untrusted or vulnerable server could lead to browser control by an attacker managing that endpoint. Users should ensure the MCP server and its configuration are trusted.
Similar Servers
playwright-mcp
Provides a Model Context Protocol (MCP) server for LLMs to automate browser interactions using Playwright's accessibility tree, avoiding pixel-based vision models.
qa-use
Provides comprehensive browser automation and QA testing capabilities, integrating with a backend platform for automated tests, interactive debugging, and batch test execution.
verdex-mcp
AI-first browser automation for Playwright test authoring, enabling AI coding assistants to generate robust, container-scoped, and content-filtered Playwright selectors for end-to-end tests.
playwright-mcp-server
Provides a robust, token-aware Playwright browser automation server for Large Language Models (LLMs) and coding agents to interact with web content, supporting advanced features like anti-detection and multi-page management.