Skip to content

feat: expose screencast first frame timestamp#2250

Open
Sushanth012 wants to merge 1 commit into
ChromeDevTools:mainfrom
Sushanth012:expose-screencast-first-frame-timestamp
Open

feat: expose screencast first frame timestamp#2250
Sushanth012 wants to merge 1 commit into
ChromeDevTools:mainfrom
Sushanth012:expose-screencast-first-frame-timestamp

Conversation

@Sushanth012

Copy link
Copy Markdown

Summary

  • capture the first Page.screencastFrame metadata timestamp while starting a screencast
  • include the timestamp in the human-readable screencast_start response
  • expose the timestamp as structuredContent.firstFrameTimestamp for clients that need precise video annotation alignment
  • add regression coverage for the response text and structured content

Verification

  • npm run test tests/tools/screencast.test.ts
  • npm run typecheck
  • npm run check-format

Note: on Windows, npm run check-format runs ESLint and Prettier successfully, then fails because the package script's trailing semicolon is passed to Prettier as a ".;" file pattern.

Closes #2216

@google-cla

google-cla Bot commented Jun 24, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

Expose first-frame timestamp from screencast_start

1 participant