xpath-testing — community xpath-testing, explorbot, community, ide skills

v1.0.0

About this Skill

Perfect for Web Automation Agents needing advanced XPath expression testing and validation capabilities. AI Agent for Explorotary Browser Testing

testomatio testomatio
[11]
[3]
Updated: 3/7/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Locale and body language aligned
Review Score
7/11
Quality Score
34
Canonical Locale
en
Detected Body Locale
en

Perfect for Web Automation Agents needing advanced XPath expression testing and validation capabilities. AI Agent for Explorotary Browser Testing

Core Value

Empowers agents to test XPath expressions against HTML files using CLI tools, facilitating efficient browser automation and improving development workflows with AI coding assistants like Claude Code, Cursor, or Windsurf, leveraging XPath and HTML protocols.

Ideal Agent Persona

Perfect for Web Automation Agents needing advanced XPath expression testing and validation capabilities.

Capabilities Granted for xpath-testing

Testing XPath expressions against HTML files for specific element identification
Iteratively querying XPath to find unique elements in HTML documents
Debugging XPath expressions for browser automation workflows

! Prerequisites & Limits

  • NEVER read HTML files directly, only use CLI tool to query them
  • Requires access to test-data/ directory for HTML files
  • Limited to working with HTML file formats

Why this page is reference-only

  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is xpath-testing?

Perfect for Web Automation Agents needing advanced XPath expression testing and validation capabilities. AI Agent for Explorotary Browser Testing

How do I install xpath-testing?

Run the command: npx killer-skills add testomatio/explorbot/xpath-testing. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for xpath-testing?

Key use cases include: Testing XPath expressions against HTML files for specific element identification, Iteratively querying XPath to find unique elements in HTML documents, Debugging XPath expressions for browser automation workflows.

Which IDEs are compatible with xpath-testing?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for xpath-testing?

NEVER read HTML files directly, only use CLI tool to query them. Requires access to test-data/ directory for HTML files. Limited to working with HTML file formats.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add testomatio/explorbot/xpath-testing. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use xpath-testing immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

xpath-testing

Install xpath-testing, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

XPath Testing Skill

Test XPath expressions against HTML files in test-data/ to find specific elements. You play a "game" — given a user's request, iteratively query XPath until you find the right element and a unique XPath for it.

Rules

  • NEVER read HTML files directly — only use the CLI tool to query them
  • You may list files in test-data/ to see what's available
  • Work iteratively: start broad, then narrow down

Workflow

1. Identify Target

Ask the user:

  • Which HTML file in test-data/? (list files if needed)
  • What element are they looking for?

2. Explore with Broad Queries

Start with broad XPath patterns to understand the page:

bash
1bun .claude/skills/xpath-testing/xpath-query.ts test-data/<file> "//button" 2bun .claude/skills/xpath-testing/xpath-query.ts test-data/<file> "//a[@href]" 3bun .claude/skills/xpath-testing/xpath-query.ts test-data/<file> "//*[@role]"

3. Narrow Down

Use the tool output to refine your XPath until you find the target element. Run as many queries as needed.

4. Present Result

Once you find the element, present:

  1. Brief explanation of what the element is
  2. Element outer HTML from the tool output
  3. Unique XPath that matches exactly 1 element

5. Verify Uniqueness

MANDATORY: Run the tool one final time with your unique XPath to confirm it returns exactly 1 result. If it returns more than 1, refine further.

CLI Tool Reference

bash
1bun .claude/skills/xpath-testing/xpath-query.ts <html-file> <xpath-expression>

Exit codes:

  • 0 — elements found
  • 1 — no matches
  • 2 — invalid XPath or error

XPath Cheat Sheet

Basic Element Selectors

//button                          All buttons
//a[@href]                        All links with href
//input                           All inputs
//select                          All select dropdowns
//form                            All forms

ARIA and Accessibility

//*[@role='button']               Elements with button role
//*[@role='link']                 Elements with link role
//*[@role='navigation']           Navigation landmarks
//*[@aria-label]                  Elements with aria-label
//*[@aria-label='Close']          Specific aria-label
//*[@aria-expanded='true']        Expanded elements

Attribute Matching

//input[@type='email']            Email inputs
//input[@name='username']         Input by name
//*[@id='main-content']           Element by ID
//*[contains(@class, 'btn')]      Class contains "btn"
//*[starts-with(@id, 'user-')]    ID starts with "user-"

Text Content

//*[text()='Submit']              Exact text match
//*[contains(text(), 'Save')]     Text contains "Save"
//button[contains(., 'Delete')]   Button containing "Delete" (includes descendants)
//a[normalize-space()='Login']    Link with normalized text "Login"

Structural / Combined

//form//input[@type='email']      Email input inside a form
//nav//a[@href]                   Links inside nav
//table//tr                       Table rows
//*[@role='dialog']//button       Buttons inside dialogs
//ul/li                           Direct child list items
//div[@class='modal']//input      Inputs inside modal div

Positional

(//button)[1]                     First button
(//button)[last()]                Last button
//ul/li[position()<=3]            First 3 list items
//table//tr[2]/td[3]              Cell at row 2, col 3

Logical Operators

//input[@type='text' or @type='email']    Text or email inputs
//button[not(@disabled)]                   Non-disabled buttons
//*[@role='button' and @aria-label]        Buttons with aria-label

Related Skills

Looking for an alternative to xpath-testing or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer