Skills

Actionbook Web Test

Run browser-based web tests against websites using Actionbook CLI.

Install

npx skills add actionbook/actionbook --skill actionbook-web-test -g -a claude-code -y
Repository
actionbook/actionbook1.6k
Category
Design
Updated
16d ago
License
Apache-2.0
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

Run browser-based web tests against websites using Actionbook CLI. Activate when the user wants to test a website workflow, run smoke tests, verify a user flow, check if a web application works, run regression tests, or validate browser-based interactions. Supports test definition, execution, assertion, reporting, and json-ui visual report generation.

When to Use This Skill

Activate when the user:

  • Asks to "test", "verify", "check", or "validate" a website workflow
  • Wants to run smoke tests or health checks on a web application
  • Needs to verify a user flow works end-to-end (login, checkout, search, etc.)
  • Asks to "run regression tests" or "does this still work?"
  • Wants to confirm a deployment didn't break functionality
  • Needs to monitor a website's functionality on a schedule
  • Builds browser-based test suites without writing Playwright/Cypress code

What actionbook-web-test Provides

actionbook-web-test transforms web tests from coded test scripts into declarative YAML workflows executed by AI agents via Actionbook CLI.

BenefitHow
AI-native recoveryWhen a selector fails, the agent snapshots the live page and finds the equivalent element
Actionbook-managed selectorsPre-verified selectors with health scores, no manual maintenance
Cross-project reusabilityYAML workflows work anywhere Actionbook CLI is installed
No test framework requiredNo Playwright/Cypress/Jest setup, just actionbook browser commands
Human-readable testsYAML workflows are readable by non-developers
Visual test reportsjson-ui powered HTML reports with metrics, step details, and failure screenshots

Test Workflow Format

Tests are defined as YAML files in a tests/ directory. Each file describes one test workflow.

name: example-test
description: What this test verifies
url: https://example.com
tags: [smoke, critical]
timeout: 30000  # ms, default 30000

# Pre-fetch verified selectors from Actionbook
actions:
  - "example.com:/:default"

# Environment variables (support {{env.VAR}} templates)
env:
  USERNAME: "test-user"
  PASSWORD: "{{env.TEST_PASSWORD}}"

# Browser setup options
setup:
  headless: true
  auto_dismiss_dialogs: true
  no_animations: true
Read the whole SKILL.md on GitHub

More in Design