Skip to content

feat(api): add screencast size option#3085

Open
rohan-patnaik wants to merge 1 commit into
microsoft:mainfrom
rohan-patnaik:feat-screencast-size
Open

feat(api): add screencast size option#3085
rohan-patnaik wants to merge 1 commit into
microsoft:mainfrom
rohan-patnaik:feat-screencast-size

Conversation

@rohan-patnaik
Copy link
Copy Markdown

Fixes #3083

Summary

This adds the missing size option to page.screencast.start() for both async and sync Python APIs.

Why

The screencast protocol already accepts a size, but Python users could only set quality, path, and on_frame. That meant users could not control screencast frame/video resolution without changing the page viewport.

Test plan

  • python3 - <<'PY' signature import check for async and sync Screencast.start
  • git diff --check

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.

[Feature]: Add size option to page.screencast.start()

1 participant