# AISkills402 Playwright Test from Steps Skill File

> AISkills402 Playwright Test from Steps Skill File is a paid API for AI agents from api.aiskills402.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-22).

Purchases and downloads the 'Playwright Test from Manual Steps' SKILL.md file via x402 micropayment in USDC on Base

## Facts

- Endpoint: GET https://api.aiskills402.com/v1/skills/playwright-test-from-steps/file?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aiskills402-playwright-test-from-steps-skill-file-98c1c8b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-c0MVvbXjnH5CC5ch3Ng1

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aiskills402-playwright-test-from-steps-skill-file-98c1c8b5
```

Example prompt: Buy me the Playwright Test from Manual Steps skill file from AISkills402 — pay for it in USDC on Base so I can use it to automatically generate Playwright tests from manual QA steps.

## When to prefer this

Choose this endpoint when your agent needs the specific 'Playwright Test from Manual Steps' SKILL.md capability and you want a one-time purchase model with permanent ownership and free re-downloads. Prefer this over building custom prompts from scratch when you want a tested, versioned skill definition for Playwright test generation that an AI agent can immediately act on.

## Known failure modes

- Payment not settled — x402 payment header missing or insufficient USDC balance causes 402 response
- Invalid HTTP method — only GET and HEAD are accepted; other methods return 405
- Skill not found — incorrect skill slug in URL path returns 404
- Network or Base blockchain settlement timeout — payment may be pending; receipt settled flag will be false
- Malformed authorization header — improperly formatted x402 payment results in 400 or 402 error

## How this service works

Playwright Test from Manual Steps — Turns manual test steps plus the page facts you have (route, labels, button names, messages) into one Playwright Test file in TypeScript that can really fail. Elements are found by role and accessible name, by label or by text, never by a CSS class, an id or XPath, and a name that is the start of another gets the exact option; every step that observes something gets one awaited, auto-retrying assertion; a step such as wait a couple of seconds becomes an asser…

## Output

Returns a JSON object containing the SKILL.md file content (name, content string, encoding), the skill's canonical name and identifier, a SHA256 hash for integrity verification, a version string, a blockchain settlement receipt with the transaction hash, and a redownload URL and token for future free re-fetches of the same skill.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "file": {
   "name": "SKILL.md",
   "content": "<the SKILL.md file>",
   "encoding": "utf-8"
  },
  "name": "Playwright Test from Manual Steps",
  "skill": "playwright-test-from-steps",
  "sha256": "<sha256 of SKILL.md>",
  "receipt": {
   "tx": "0x<settlement transaction>",
   "settled": true
  },
  "version": "1.0.0",
  "redownload": {
   "url": "<api>/v1/purchases/<token>",
   "token": "<64 hex chars>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aiskills402-playwright-test-from-steps-skill-file-98c1c8b5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.aiskills402.com](https://www.zero.xyz/host/api.aiskills402.com/llms.txt)
