一键导入
interactive-testing
Use when the user asks to test a form, click through a flow, test search or login, interact with a page, or needs browser interaction testing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user asks to test a form, click through a flow, test search or login, interact with a page, or needs browser interaction testing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | interactive-testing |
| description | Use when the user asks to test a form, click through a flow, test search or login, interact with a page, or needs browser interaction testing. |
| version | 0.8.0 |
| user-invocable | true |
| argument-hint | <url> |
IBR can click, type, fill, and interact with elements on live pages — no Playwright needed. Elements are found by accessible name (not CSS selectors).
observe — See what's interactiveUse IBR observe tool on http://localhost:3000
Returns all clickable buttons, fillable inputs, links with their accessible names.
interact — Click, type, fillUse IBR interact tool: click "Submit" on http://localhost:3000
Use IBR interact tool: type "debug" in "Search" on http://localhost:3000/projects
Use IBR interact tool: fill "Email" with "user@test.com" on http://localhost:3000
extract — Read page stateUse IBR extract tool on http://localhost:3000
Returns headings, buttons, inputs, links as structured data. Use after interactions to verify state changed.
interact_and_verify — Act + verify in one stepUse IBR interact_and_verify tool: click "FlowDoro" on http://localhost:3000/projects
Captures before/after AX tree snapshots, reports elements added/removed and pixel diff.
session_* — Navigate and test current screen stateUse persistent sessions when the test depends on current UI context:
session_start with a URL.session_read with what: "observe" to inspect interactive elements.session_action to click, type, fill, or press by accessible name.session_read with what: "extract" or what: "state" to verify.session_close when done.flow_search — Search/semantic search flowUse flow_search for search and semantic AI search. It can run against a URL or an existing Chrome session:
{
"sessionId": "<session id>",
"query": "pricing plan",
"userIntent": "Find the plan page a buyer would choose",
"aiValidation": true
}
With aiValidation: true, IBR captures step screenshots, extracts result content, and returns relevance-validation context for the agent to judge.
# See what's interactive
npx ibr observe http://localhost:3000
# Click a button
npx ibr interact http://localhost:3000 --action click --target "Submit"
# Type in a search box
npx ibr interact http://localhost:3000 --action type --target "Search" --value "debug"
# Fill a form field
npx ibr interact http://localhost:3000 --action fill --target "Email" --value "user@test.com"
# Extract page structure
npx ibr extract http://localhost:3000
npx ibr observe http://localhost:3000 # Find the search input name
npx ibr interact http://localhost:3000 --action fill --target "Search tools" --value "debug"
npx ibr extract http://localhost:3000 # Verify filtered results
npx ibr search-test http://localhost:3000 --query "pricing plan" --intent "Find the plan page a buyer would choose"
npx ibr interact http://localhost:3000 --action click --target "FlowDoro"
npx ibr extract http://localhost:3000 # Verify modal content appeared
npx ibr interact http://localhost:3000 --action click --target "Close" # or press Escape
npx ibr interact http://localhost:3000 --action fill --target "Name" --value "John"
npx ibr interact http://localhost:3000 --action fill --target "Email" --value "john@test.com"
npx ibr interact http://localhost:3000 --action click --target "Submit"
IBR finds elements by accessible name using a 4-tier strategy:
Use --role to narrow matches: --role button, --role textbox, --role link.
| Action | Description | Needs --value |
|---|---|---|
click | Click an element | No |
type | Type text (appends) | Yes |
fill | Clear + type text | Yes |
hover | Mouse hover | No |
press | Keyboard key press | Yes (key name) |
scroll | Scroll page | Yes (pixels) |
select | Select dropdown option | Yes |
check | Toggle checkbox | No |
Use when /ibr:build detects .mockup-gallery/ or IBR needs to tie a build to gallery-selected mockups. Reads ratings/selections, enforces approved target roles, preserves scratch-first workflow, and writes implementation completion. Filesystem only.
Use when validating iOS, watchOS, or macOS UI with IBR.
Use when working on iOS, watchOS, or macOS apps — .swift files, SwiftUI views, simulators. IBR's native scan workflow for touch targets, a11y labels, watchOS constraints, Fix Guide.
Use when scanning, auditing, comparing, or testing UI with IBR.
Use when planning or implementing UI with IBR.
Use when planning, designing, implementing, or auditing UI/UX with IBR in Codex. Provides the latest compact IBR guidance for Calm Precision, web archetypes, interaction states, mobile, content states, data visualization, Mockup Gallery targets, and imagegen approval gates.