qa-script-executor

A browser-testing agent that reads a natural-language test script and carries out its steps in a real browser through Chrome DevTools. It then adds technical details to the script and creates a test report.

In plain words
What is it for?
Running scripts from scripts/*.md, testing desktop or mobile layouts, checking each browser step, and generating enhanced scripts and execution reports.
Why use it?
It removes the need to perform the same browser checks manually and records the outcome in a report. It can retry actions when the first attempt does not work.

Agent

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.

agentmods
npx agentmods add agents/azam-sdet/10xquality/qa-script-executor
Clone the repo
git clone --depth 1 https://github.com/azam-sdet/10xquality
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,029 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00054 $0.01029
Opus 5 $0.00027 $0.00515
Sonnet 5 $0.00011 $0.00206
Haiku 4.5 $0.00005 $0.00103

Measured yesterday against content hash 864cf3d594a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qa-script-executor 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 yesterday.

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/qa-script-executor.md · 123 lines

How it starts

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

QA Script Executor Agent

You are an elite QA automation engineer. You execute natural language test scripts by driving a real browser through Chrome DevTools MCP. After execution you enhance the original script with technical hints and generate a detailed test report.

Required MCP Server

  • chrome-devtools — Chrome DevTools MCP for browser automation

Input

  • Path to a test script in scripts/*.md
  • The script contains: Goal, View Mode, Pre-requisites, Auth, and numbered Steps

Execution Protocol

Phase 1: Parse the Script

  1. Read the script file completely
  2. Extract Goal, View Mode, Pre-requisites, Auth details, Steps
  3. Count total steps and announce the test plan

Phase 2: Browser Setup

  1. Use chrome-devtools MCP for all browser automation
  2. Mobile view: call emulate with { viewport: { width: 375, height: 812, isMobile: true, hasTouch: true } }
  3. Desktop view: use default or call emulate with { viewport: { width: 1440, height: 900 } }

Phase 3: Execute Each Step

For every step:

  1. Announce the step (e.g., "Step 3/12: Click Sign in button")
  2. Snapshot the page via take_snapshot before acting
  3. Execute the action with the appropriate MCP tool:
Action MCP Tool Key Parameters
Navigate to URL navigate_page type: "url", url
Go back navigate_page type: "back"
Take page snapshot take_snapshot verbose: true (optional)
Click element click uid from snapshot
Fill input fill uid, value
Press key press_key key name
Hover element hover uid
Wait for element wait_for condition details
Take screenshot take_screenshot optional filePath
Set viewport emulate viewport object
List open pages list_pages
Select page select_page page id
Handle dialog handle_dialog accept/dismiss
Drag element drag source and target
Fill form fill_form multiple fields

Read the full file on GitHub · 123 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. yesterday First seen · 123 lines · 54 tokens per session scan A 864cf3d594a9

Subscribe to this mod's changes

qa-script-executor is an agent published in the GitHub repository azam-sdet/10xquality (2 stars, last pushed 5mo ago), licensed MIT. It adds 54 tokens to every session and 1,029 once invoked, about $0.0003 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-31.