Agent skill
playwright-automation
Use when Codex must browse, interact with, or test web flows via the remote Playwright MCP server hosted on Glama.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/testing/playwright-automation-amit-sw-mcp-skills
SKILL.md
Playwright Automation
Purpose
Drive browser automation workflows (regression checks, screenshot capture, web navigation) through the Glama-hosted Playwright MCP server defined under servers/playwright.
Setup Checklist
- Ensure
GLAMA_PLAYWRIGHT_ENDPOINTandGLAMA_API_KEYare exported and referenced inmcp.json. - Upload authentication state JSON for apps that require login; note the storage path in
servers/playwright/README.md. - Limit concurrency to one session per task to avoid Glama quota throttling.
Workflow
- Intent – describe the scenario (URL, steps, expected assertion). Decide if headless mode is sufficient or if video capture is needed.
- Launch – invoke the
openPage/runStepstool with selectors and navigation instructions. Use deterministic selectors, not text heuristics, whenever possible. - Validate – capture screenshots or DOM snapshots; store outputs under
docs/automation/through the filesystem skill if they must persist. - Cleanup – close tabs via the MCP toolset to release capacity. Record any failures and request a retry only after adjusting selectors/timeouts.
Notes
- Default viewport is 1280×720; override via tool metadata if layout-specific testing is required.
- Retries: wait 3 seconds when encountering
TargetClosedErrorbefore re-issuing the step list. - Sensitive flows (2FA) should be mocked or limited to staging credentials—never push secrets into step definitions.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?