testcafe

testcafe is a skill for Claude Code from aks-builds/quality-skills. It costs 105 tokens per session (2,214 once invoked), scanned A, original, MIT.

A guide to writing and maintaining browser tests with TestCafe, a JavaScript and TypeScript tool that controls browsers through a proxy instead of WebDriver. WebDriver is a common browser-automation interface.

In plain words
What is it for?
Use it to design, implement, debug, or migrate TestCafe tests for web applications.
Why use it?
It helps you work correctly with TestCafe’s selectors, test setup, browser choices, and configuration, while accounting for whether you are maintaining an existing suite or choosing a tool for a new one.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the quality-skills plugin — 57 skills shipped together

Good fit Use it to design, implement, debug, or migrate TestCafe tests for web applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aks-builds/quality-skills/testcafe
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.

Any agent
npx skills add aks-builds/quality-skills --skill testcafe
Clone the repo
git clone --depth 1 https://github.com/aks-builds/quality-skills

Made for: Claude Code.

Or install quality-skills, the plugin that ships this one along with the rest of its 57 skills.

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 testcafe

README.md
[![agentmods](https://agentmods.dev/badge/skills/aks-builds/quality-skills/testcafe/github.svg)](https://agentmods.dev/skills/aks-builds/quality-skills/testcafe)
Your own site
<a href="https://agentmods.dev/skills/aks-builds/quality-skills/testcafe"><img src="https://agentmods.dev/badge/skills/aks-builds/quality-skills/testcafe/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 testcafe

Your own site · 80×15
<a href="https://agentmods.dev/skills/aks-builds/quality-skills/testcafe"><img src="https://agentmods.dev/badge/skills/aks-builds/quality-skills/testcafe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,214 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.00105 $0.02214
Opus 5 $0.00053 $0.01107
Sonnet 5 $0.00021 $0.00443
Haiku 4.5 $0.00011 $0.00221

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

Security

Grade A, and why

testcafe 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.

skills/testcafe/SKILL.md · 211 lines

How it starts

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

TestCafe

You are an expert in TestCafe. Your goal is to help engineers write and maintain TestCafe tests, and to be honest about TestCafe's position in 2026: it is a working, mature tool, but its market share has shrunk significantly versus Playwright and Cypress. Do not fabricate selector methods, runner options, or CLI flags. When uncertain, point the reader to the official TestCafe docs.

Initial Assessment

Check .agents/qa-context.md (fallback: .claude/qa-context.md) before answering. Pay attention to:

  • Is the user maintaining an existing TestCafe suite, or considering it for a new project? — for new projects in 2026, recommend evaluating Playwright or Cypress first. For existing suites, focus on patterns that work well in TestCafe specifically.
  • Languages used — TestCafe is JS/TS only.
  • Browsers in scope — TestCafe supports Chrome, Firefox, Safari, Edge, plus emulated devices and BrowserStack/Sauce/LambdaTest providers. It does not require WebDriver.
  • Why TestCafe was chosen — if "no WebDriver" or "Node-only setup" was the deciding factor, those are still valid. Knowing why helps frame the advice.

If the file does not exist, ask: existing suite or new project, languages, target browsers, and what attracted them to TestCafe.


Why TestCafe

  • No WebDriver, no Selenium — TestCafe uses a Node.js HTTP proxy to inject test code into pages. Lower setup overhead historically.
  • Built-in test runner — fixtures, tests, hooks, parametrization out of the box.
  • TypeScript supported natively — no extra setup.
  • Smart assertionst.expect(selector.innerText).eql(...) retries until it passes or times out.
  • Concurrency--concurrency N runs N browser instances in parallel on one machine.

When not to use TestCafe:

  • New project with no constraints → evaluate Playwright first.
  • Cross-origin auth or complex iframe scenarios — TestCafe's proxy can struggle here.
  • Workflows that need deep DevTools / CDP access.
  • Reliance on real Safari beyond TestCafe's supported configuration.

Read the full file on GitHub · 211 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 211 lines · 105 tokens per session scan A 01fb0c7a3462

Subscribe to this mod's changes

testcafe is a skill published in the GitHub repository aks-builds/quality-skills (2 stars, last pushed 5d ago), licensed MIT. It adds 105 tokens to every session and 2,214 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

automated-e2e-testing

A workflow for turning manual web-app test cases into Playwright end-to-end tests and running them. End-to-end tests check a complete user flow through the website.

fishzjp/qa-skills · 112 tokens

execute

Run the generated Playwright tests and summarize pass/fail results. Use when the user wants to run the tests produced by /verefi:implement, check whether a test plan's acceptance criteria are met, or debug failing Verefi-generated tests.

philchen00/verefi · 51 tokens

web-test

A browser-automation tool for testing the 1C:Enterprise web client. It uses Playwright to navigate sections, fill forms, read tables and reports, and perform user actions in a browser.

Nikolay-Shirokov/cc-1c-skills · 44 tokens

agent-browser

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

code-yeongyu/oh-my-openagent · 51 tokens

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…

testdino-hq/playwright-skill · 64 tokens

Katalon Studio Testing

Comprehensive testing patterns for Katalon Studio including codeless record-and-playback, Groovy scripted testing, custom keywords, data-driven testing, cross-browser execution, and CI/CD integration with Katalon TestOps.

PramodDutta/qaskills · 51 tokens