Skip to content

ref(page): hide slowmoable in command's params and tag Worker#main_frame as private API - #752

Merged
route merged 1 commit into
mainfrom
ref/hide-internals
Nov 30, 2026
Merged

route merged 1 commit into
mainfrom
ref/hide-internals

Conversation

@route

@route route commented Nov 30, 2026

Copy link
Copy Markdown
Member

Two internals were showing up in the public API.

  • Page#command no longer lists slowmoable: in its signature, YARD or RBS. Mouse, keyboard and node still pass it, and it's taken out of params before the command goes to Chrome, so slowmo works as before.
  • Worker#main_frame is tagged @api private. It returns nil and exists only so shared code can treat a worker like a page.

@route
route merged commit 9199cfb into main Nov 30, 2026
7 checks passed
@route
route deleted the ref/hide-internals branch November 30, 2026 08:24
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.

1 participant