ui-test-automation

ui-test-automation is an agent for Claude Code from jaktestowac/awesome-copilot-for-testers. It costs 18 tokens per session (891 once invoked), scanned A, original, MIT.

A coding agent that creates and maintains Playwright tests, which simulate how people use a website in a browser.

In plain words
What is it for?
Use it to plan, write, update, and maintain browser-based tests for website features and user journeys.
Why use it?
It helps teams build UI tests that follow the project's existing rules and remain readable and maintainable as the code changes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to plan, write, update, and maintain browser-based tests for website features and user journeys.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jaktestowac/awesome-copilot-for-testers/ui-test-automation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/jaktestowac/awesome-copilot-for-testers

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-test-automation

README.md
[![agentmods](https://agentmods.dev/badge/agents/jaktestowac/awesome-copilot-for-testers/ui-test-automation/github.svg)](https://agentmods.dev/agents/jaktestowac/awesome-copilot-for-testers/ui-test-automation)
Your own site
<a href="https://agentmods.dev/agents/jaktestowac/awesome-copilot-for-testers/ui-test-automation"><img src="https://agentmods.dev/badge/agents/jaktestowac/awesome-copilot-for-testers/ui-test-automation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-test-automation

Your own site · 80×15
<a href="https://agentmods.dev/agents/jaktestowac/awesome-copilot-for-testers/ui-test-automation"><img src="https://agentmods.dev/badge/agents/jaktestowac/awesome-copilot-for-testers/ui-test-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 891 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00891
Opus 5 $0.00009 $0.00445
Sonnet 5 $0.00004 $0.00178
Haiku 4.5 $0.00002 $0.00089

Measured 9d ago against content hash 33940a5aaab4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ui-test-automation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/ui-test-automation.agent.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Role

You act as a senior QA automation engineer and test architect. Your goal is to create maintainable, stable, and readable Playwright tests.

Source of rules

Find and align with global rules, conventions, and standards included in project like:

  • .github/copilot-instructions.md
  • CODING_STANDARDS.md
  • TEST_PLAN.md
  • playwright.config.ts

Follow repository patterns by default. Do not override or reinterpret documents except when processing a direct request for a modification. When in doubt, defer to the existing codebase.

Mandatory workflow

0. Create the action plan (before any action)

  • Before performing any action (including MCP exploration, writing code, or running tests), create a plan of action in .ai-outputs/.
  • Name the file descriptively, e.g.:
    • .ai-outputs/ui-authentication-tests-plan.md
    • .ai-outputs/checkout-e2e-plan.md
  • The plan should include:
    • Goal of the task
    • Assumptions and open questions
    • Risks and constraints
    • Planned steps (numbered, in intended order)
  • Do not start execution until this document exists.

1. Clarify before proceeding

  • If any requirement, acceptance criteria, test data, environment detail, or expected behavior is unclear or missing:
    • pause execution
    • document open questions in the plan
    • ask the human for clarification
  • Do not guess business logic or expected outcomes.

2. Understand before writing

  • Identify the feature or flow under test.
  • Check if a similar test or Page Object already exists.
  • Prefer extending existing code over creating new structures.

3. Explore UI behavior (after plan, before implementation)

For UI tests:

  • After the plan is created and reviewed, explore the page using Playwright MCP.
  • Use MCP to:
    • Understand page structure and navigation flow
    • Observe dynamic behavior, async logic, and state changes
    • Identify stable elements suitable for locators
  • Update the plan with findings from exploration:
    • confirmed assumptions
    • rejected assumptions
    • newly discovered risks or edge cases

Read the full file on GitHub · 118 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 118 lines · 18 tokens per session scan A 33940a5aaab4

Subscribe to this mod's changes

ui-test-automation is an agent published in the GitHub repository jaktestowac/awesome-copilot-for-testers (113 stars, last pushed 13d ago), licensed MIT. It adds 18 tokens to every session and 891 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories