Skip to content

chore: screencast clarity#39926

Merged
pavelfeldman merged 2 commits intomicrosoft:mainfrom
pavelfeldman:video_layers
Mar 30, 2026
Merged

chore: screencast clarity#39926
pavelfeldman merged 2 commits intomicrosoft:mainfrom
pavelfeldman:video_layers

Conversation

@pavelfeldman
Copy link
Copy Markdown
Member

No description provided.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Signed-off-by: Pavel Feldman <pavel.feldman@gmail.com>
async startScreencast(options: { width: number; height: number; quality: number; }): Promise<void> {
await this._mainFrameSession._client.send('Page.startScreencast', {
startScreencast(options: { width: number; height: number; quality: number; }) {
this._mainFrameSession._client.send('Page.startScreencast', {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_sendMayFail?

async stopScreencast() {
await this._mainFrameSession._client._sendMayFail('Page.stopScreencast');
stopScreencast() {
this._mainFrameSession._client._sendMayFail('Page.stopScreencast').catch(() => {});
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
this._mainFrameSession._client._sendMayFail('Page.stopScreencast').catch(() => {});
this._mainFrameSession._client._sendMayFail('Page.stopScreencast');

@github-actions
Copy link
Copy Markdown
Contributor

Test results for "MCP"

1 failed
❌ [msedge] › mcp/files.spec.ts:106 › clicking on download link emits download @mcp-windows-latest

6279 passed, 350 skipped


Merge workflow run.

@github-actions
Copy link
Copy Markdown
Contributor

Test results for "tests 1"

3 failed
❌ [webkit-library] › library/video.spec.ts:634 › screencast › should wait for video to finish if page was closed @webkit-ubuntu-22.04-node20
❌ [webkit-library] › library/video.spec.ts:714 › screencast › should capture full viewport @webkit-ubuntu-22.04-node20
❌ [webkit-library] › library/video.spec.ts:749 › screencast › should capture full viewport on hidpi @webkit-ubuntu-22.04-node20

10 flaky ⚠️ [chromium-page] › page/page-request-continue.spec.ts:754 › propagate headers cross origin redirect after interception `@ubuntu-22.04-chromium-tip-of-tree`
⚠️ [chromium-library] › library/video.spec.ts:543 › screencast › should capture static page in persistent context @smoke `@chromium-ubuntu-22.04-arm-node20`
⚠️ [chromium-page] › page/page-request-continue.spec.ts:754 › propagate headers cross origin redirect after interception `@chromium-ubuntu-22.04-arm-node20`
⚠️ [chromium-library] › library/video.spec.ts:180 › screencast › should capture static page `@chromium-ubuntu-22.04-node22`
⚠️ [chromium-library] › library/video.spec.ts:404 › screencast › should work for popups `@chromium-ubuntu-22.04-node22`
⚠️ [firefox-library] › library/browsertype-connect.spec.ts:773 › run-server › should upload a folder `@firefox-ubuntu-22.04-node20`
⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1080 › cli codegen › should not throw csp directive violation errors `@firefox-ubuntu-22.04-node20`
⚠️ [firefox-page] › page/page-set-input-files.spec.ts:38 › should upload a folder `@firefox-ubuntu-22.04-node20`
⚠️ [webkit-library] › library/browsertype-connect.spec.ts:773 › launchServer › should upload a folder `@webkit-ubuntu-22.04-node20`
⚠️ [webkit-page] › page/page-autowaiting-basic.spec.ts:79 › should await form-post on click `@webkit-ubuntu-22.04-node20`

39032 passed, 845 skipped


Merge workflow run.

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.

3 participants