Playwright MCP Server

  • tests
import {test, expect } from "@playwright/test"; test('example basic test @mytag', async({page}) => { //here goes the test code await page.goto('https://example.com/'); const pageTitle = await page.locator('h1'); await expect(pageTitle).toContainText('Example Domain') });