hostile-page-checkout
Use when driving a hostile or adversarial web page through the browser tool — the BrowseBench stress checkout (benchmarks/browser-autonomy-round/fixtures/stress.html) and any real page that plants interstitials, overlays, arm-races, iframe forms, or native-dialog guards. Validated across six receipted runs (benchmarks/browser-autonomy-round/RESULTS.md); promoted from the browser autonomy round's skill candidate 2026-11-01 (round 2's decision).
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- hostile-page-checkout
- description
- Use when driving a hostile or adversarial web page through the browser tool — the BrowseBench stress checkout (benchmarks/browser-autonomy-round/fixtures/stress.html) and any real page that plants interstitials, overlays, arm-races, iframe forms, or native-dialog guards. Validated across six receipted runs (benchmarks/browser-autonomy-round/RESULTS.md); promoted from the browser autonomy round's skill candidate 2026-11-01 (round 2's decision).
03 SKILL.md 正文
Hostile-page checkout
The order of operations that survives a page that fights back. Every step below is a planted failure class in the stress fixture, and each was a real failure in at least one receipted run before this procedure consolidated.
- Interstitials first, actions second. Dismiss the newsletter modal (stress page: "No thanks, just let me shop") and accept the cookie banner BEFORE the first effective click — a modal or overlay silently swallows the click you actually wanted (run 1: the first "Add to cart" never landed, cart stayed 0).
- Respect the arm-race. Controls that enable on a delay punish clicks
fired within their arming window (the two-stage order button resets the
cart): snapshot, see the control still disabled or staged,
waitfor the text/state change, THEN click. - Frame-verified fills. Address forms inside a same-origin iframe:
fill by ref through the frame (
fill_formresolves refs through iframes), and trust the post-fill verification — are-filled … verified on retrynote or a loud per-field failure, never a silent success (issue #43's fix; the readiness barrier waits for the frame too). - Arm dialogs BEFORE the guard-gated click. Native
confirm()/prompt()auto-dismiss by default and the dismissal CANCELS the flow ("Order cancelled at the dialog"). Armbrowser dialog accept text=OKfirst (one-shot — re-arm after each use), then click the button that opens the dialog. Run 6's receipt is the proof: pre-armed at call #11, the triggering click at #12, trap never hit. - Verify the success marker, not the vibe. The stress contract is
#final-status[data-success="true"]— check the element (or eval it), and save the screenshot receipt (.pngnames now capture png — issue #44). - Refs are per-snapshot. After any navigation or DOM mutation, re-snapshot before acting; a stale ref is a misclick.
The tool-time memory hint lane (issue #45) surfaces the memory side of this procedure at the first browser call — this skill is the full procedure, available up front for benchmark and hostile-page work.
04 同仓库更多 Skills
valid-skill
A valid skill for testing purposes.
unknown-field
A skill with an unknown frontmatter field.
nested-child
Nested skill should be ignored.
root-skill-preferred
Root skill should win.
no-frontmatter
暂无简介
child-skill
A nested skill in a subdirectory.