Skip to main content
Glama
mcp-playwright.spec.ts•446 B
import { test, expect } from '@playwright/test'; test('Open Playwright site, verify title, take screenshot', async ({ page }) => { // Navigate to Playwright website await page.goto('https://playwright.dev'); // Verify title contains "Playwright" await expect(page).toHaveTitle(/Playwright/i); // Take a full-page screenshot and save to workspace root await page.screenshot({ path: 'playwright-homepage.png', fullPage: true }); });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sumit06-09/Playwright_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server