Back to Home
gauravvats1208 icon

Playwright-Project-MCP

Verified Safe

by gauravvats1208

Overview

End-to-end testing of an e-commerce application (SauceDemo) using Playwright and Cucumber, enhanced with AI for dynamic test data, scenario generation, failure analysis, and element finding.

Installation

Run Command
npm test

Environment Variables

  • AI_AGENT_API_KEY
  • AI_USER_ID

Security Notes

The project uses environment variables for AI API keys, which is good practice. AI agent communication with an external AWS Lambda URL (https://frwxt5uwb5da2wbtyx4p3wk4qm0sydut.lambda-url.us-east-1.on.aws) involves sending authentication details, relying on the security of that third-party endpoint. The AI-generated steps for 'executeTestStep' are parsed by a controlled switch statement that calls predefined methods, limiting direct code injection risks. The `JSON.parse` operations are generally safe. A minor concern is the placeholder 'your_api_key_here' in `AIAgent.js` if not properly configured by the user, although documentation guides towards setting environment variables.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2026-01-19

Tags

PlaywrightCucumberE2E TestingAI AutomationJavaScript