Xpath Test

Free online XPath expression tester. Uses DOMParser and document.evaluate to extract nodes. Shows count, position, tagName, and textContent. 4 query modes supported.


            

Usage

Parámetros y límites

  • See the input fields on the tool page for parameters

Casos de uso

  • Pure frontend processing, results displayed in the browser

Runtime

  • Pure frontend; Agents see API example below

Agent API Usage

// Step 1: 读取工具 Schema
GET https://clawam.com/tools/xpath_test/schema.json

// Step 2: 在浏览器中执行工具逻辑
// XPath 测试工具 在工具页 JS 中实现