sridharaiyer
MCP Serversridharaiyerpublic

playwright githubagent demo

演示如何使用 Playwright 进行端到端测试和自动化,结合 GitHub Copilot 提升开发效率。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

演示如何使用 Playwright 进行端到端测试和自动化,结合 GitHub Copilot 提升开发效率。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Playwright GitHub Agent Demo

This repository demonstrates the use of Playwright for end-to-end testing and automation. The project showcases how to automate workflows and test web applications effectively harnessing the power of GenAI in the form of GitHub Copilot using the integrated powerful Playwright LLM Agents

Features

  • Cross-browser testing with Playwright.
  • Automated workflows for GitHub integration.
  • Example scripts for testing web applications.

Prompt to Test Case

You can find example prompts for generating test cases in the prompts.txt file. These prompts are designed to help you understand how to create effective test cases using Playwright and GitHub Copilot.

Prerequisites to activate Copilot Agent mode on VSCode

  • Node.js (v16 or later)
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/playwright-githubagent-demo.git
    cd playwright-githubagent-demo
    
  2. Setup and activate your virtual environment using your preferred choice.

  3. Install Python dependencies:

    pip install -r requirements.txt
    
  4. Installing Playwright Agents (MCP) on VSCode

Usage

Activate the virtual environment

source .venv/bin/activate

Run Tests

Execute the Playwright tests:

pytest tests.py --headed
((.venv) ) [18:33:55] sridhariyer:playwright-githubagent-demo $ pytest tests.py --headed          
=============================================== test session starts ================================================
platform darwin -- Python 3.12.10, pytest-8.3.5, pluggy-1.5.0
rootdir: /Users/sridhariyer/Documents/Playwright-Projects/playwright-githubagent-demo
plugins: playwright-0.7.0, base-url-2.1.0
collected 2 items                                                                                                  

tests.py ..                                                                                                  [100%]

================================================ 2 passed in 16.83s ================================================
((.venv) ) [18:34:24] sridhariyer:playwright-githubagent-demo $ 

Resources

  • Playwright Documentation

License

This project is licensed under the MIT License.

Quick Start

1

Clone the repository

git clone https://github.com/sridharaiyer/playwright-githubagent-demo
2

Install dependencies

cd playwright-githubagent-demo
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownersridharaiyer
Repoplaywright-githubagent-demo
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation