Skip to content

feat(browser-actions): visible pointer, human-paced motion and smooth scroll step - #2550

Merged
chubes4 merged 1 commit into
mainfrom
fix/issue-2547-wp-codebox
Oct 2, 2026
Merged

chubes4 merged 1 commit into
mainfrom
fix/issue-2547-wp-codebox

Conversation

@chubes4

@chubes4 chubes4 commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Fixes #2547.

  • presentation-json=<object|@file> turns on an opt-in presentation layer. It's off by default, and existing runs are unchanged.
    • pointer: a cursor element in an isolated shadow root with pointer-events: none, re-injected on navigation, following real mouse positions
    • clickFeedback: a ripple at the click point
    • motion: an eased pointer move to the target before click/hover/fill/type/select
    • typing: per-character delay for type, and for fill when applyToFill is set
  • New scroll step: selector | position: "top"|"bottom" | by: {x,y}, plus behavior and block. It waits until scrolling settles. (The issue's to was renamed to position to avoid colliding with drag.to.)
  • New module browser-presentation.ts. The validator covers the new step and options. README is documented.

Tests

npm run build clean. New browser-actions-presentation-validation.test.ts 2/2 and browser-actions-presentation.browser.test.ts 1/1: the pointer survives navigation, doesn't intercept clicks, and a scroll reaches its target. test:browser-video-capture 3/3. browser-preview-routing 16/16.

Drafted by a Homeboy cook (cook-detached-52c9b48c). Its gates passed, but finalization refused because the candidate changed after promotion. With Chris's authorization, it was rebased onto current main as a single commit, re-verified, and published outside Homeboy.

AI-assisted: drafted by an OpenCode agent, reviewed and finalized by Extra Chill Bot.

@chubes4
chubes4 force-pushed the fix/issue-2547-wp-codebox branch from 243d63a to 766405b Compare October 2, 2026 17:49
@chubes4
chubes4 merged commit d1ca18b into main Oct 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

browser-actions: visible pointer and human-paced motion for recorded journeys (cursor, click ripple, smooth scroll, typed text)

1 participant