Back to Home
naumanstafona icon

MCP_server_Playwright

by naumanstafona

Overview

Automated end-to-end UI testing for a web application using Playwright, including multi-factor authentication (OTP via Gmail).

Installation

Run Command
npx @playwright/mcp@latest –port 8080

Environment Variables

  • CI
  • TEST_GMAIL_USER
  • TEST_GMAIL_PASSWORD

Security Notes

CRITICAL: Hardcoded Gmail account credentials (`GMAIL_USER`, `GMAIL_PASS`) and Trackstack login credentials (`TRACKSTACK_EMAIL`) are present directly in the source code (`helpers/login.ts`, `tests/LogintoApplication_New.spec.ts`, `tests/login-to-trackstack-using-gmail-otp.spec.ts`). This is a severe security vulnerability, exposing sensitive information if the repository is publicly accessible or compromised. Credentials must be loaded from secure environment variables or a secrets management system.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassMedium
Avg Tokens1
Stars0
Forks0
Last Update2025-11-19

Tags

PlaywrightE2E TestingUI AutomationWeb TestingOTP LoginTest Automation