
Browser testing
Guides an agent to capture live browser console, network and page state for tests
Browser testing is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 19
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Browser testing
This skill frames browser work as runtime evidence: behaviour that only shows up in a running page, such as console errors, failed requests or state reached after a click, is exercised during the test phase rather than inferred from source. It directs the agent to read that signal through a browser-automation MCP server the session already has connected, and it states that it adds no new server. Captured output is treated as untrusted data to assert on or surface, not as instructions to follow.
The skill also covers debugging. When a failure only reproduces in a browser, the agent is pointed to the live console, network and DOM state instead of guessing from the symptom. It references the Chrome DevTools panels, the Chrome DevTools Protocol and the W3C WebDriver specification as the underlying standards, and a reference file gathers those sources with links. Exact tool names depend on the connected server and are not specified by the skill.
The skill ships as Markdown only, with no scripts. It expects a browser-automation MCP server to be connected; without one, the run falls back to a manual, stated-conditions check. Recorded run results go through the mokata pipeline's human approval step.
When your agent uses it
mokata · Browser testing (DevTools) — live runtime captured via the existing MCP surface, fed to the test gate.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (14 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the mokata plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add JasGujral/mokata-oss
/plugin install mokata@mostackOr copy only this skill to ~/.claude/skills/browser-testing:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/browser-testing &&
cp -R "$tmp/src/mokata/skills/browser-testing" ~/.claude/skills/browser-testing &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/browser-testing inside it instead.
Copy the skill folder to ~/.agents/skills/browser-testing to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/browser-testing &&
cp -R "$tmp/src/mokata/skills/browser-testing" ~/.agents/skills/browser-testing &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/browser-testing inside it instead.
Copy the skill folder to ~/.cursor/skills/browser-testing to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/browser-testing &&
cp -R "$tmp/src/mokata/skills/browser-testing" ~/.cursor/skills/browser-testing &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/browser-testing inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/JasGujral/mokata-oss.git --path src/mokata/skills/browser-testingOr copy the folder to ~/.gemini/skills/browser-testing yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/browser-testing:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/browser-testing &&
cp -R "$tmp/src/mokata/skills/browser-testing" ~/.copilot/skills/browser-testing &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/browser-testing inside it instead.
Get the folder:
git clone --depth 1 https://github.com/JasGujral/mokata-oss.gitThen copy mokata-oss/src/mokata/skills/browser-testing into your agent's skills folder as browser-testing. Agents that support SKILL.md read one folder per skill.
What it does
- Live runtime signal capture
- Reads console messages, network requests and rendered page state from the browser through the connected MCP tools.
- Runtime-based test assertions
- Asserts on what the browser showed, such as a clean console, expected requests or the reached UI state.
- Browser failure debugging
- Investigates bugs that only reproduce in a running page by inspecting live console, network and DOM data.
- Untrusted browser output handling
- Treats page and log text as data to surface rather than instructions to obey, guarding against injected prompts.
- DevTools and WebDriver references
- Points to Chrome DevTools, the DevTools Protocol and W3C WebDriver documentation for the underlying capabilities.
Good for
- Check the browser console for errors after a login flow
- Find out why a button click fails to update the page
- Confirm that a form submission sends the expected network request
- Debug a rendering bug that appears only after scrolling
- Add an end-to-end assertion for the final page state
Browser testing FAQ
Does Browser testing install a new browser automation server?
No. It uses the browser-automation MCP surface already connected to the session and explicitly adds no new server.
When does the skill engage?
When work touches an end-to-end or browser test, a page's runtime behaviour, a DevTools-observable surface, or a failure that only reproduces in a running browser. It does not engage for pure unit-test or backend changes with no browser runtime.
What happens if no browser MCP server is connected?
The skill says the run degrades to a manual check under stated conditions instead of automated capture.
Are scripts or extra files included?
No scripts are included. The skill has a SKILL.md and one reference file that lists the DevTools, protocol and WebDriver sources.
How do I install Browser testing in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/browser-testing to use it in all your projects, or to .claude/skills/browser-testing in one project. Or install the mokata plugin, which includes it: /plugin marketplace add JasGujral/mokata-oss, then /plugin install mokata@mostack.
Does Browser testing run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Browser testing?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Browser testing?
The closest alternatives to Browser testing are Chrome devtools, Browser QA, Webapp testing, Capybara skill and Browserstack migration skill.
Where this comes from
- Description: from the skill's own SKILL.md.
More from JasGujral/mokata-oss

Makes the agent design API contracts first and check callers before changing them
- Open source
- 19 GitHub stars
- Developer tools

Gives an agent NestJS rules for guards, DTO validation, modules and tests
- Open source
- 19 GitHub stars
- Developer tools

Guides an agent through Socratic exploration of an approach before any spec or code
- Open source
- 19 GitHub stars
- Developer tools

Guides the agent to reproduce a reported bug with a failing test before fixing it
- Open source
- 19 GitHub stars
- Developer tools

Guides an agent on CI/CD pipelines, release builds and pinned supply-chain posture
- Open source
- 19 GitHub stars
- Developer tools

Reproduces a failure, captures it in a failing test, then applies a minimal fix
- Open source
- 19 GitHub stars
- Developer tools




