Skip to content

chore: retarget video and overlay to screencast api#39915

Merged
pavelfeldman merged 1 commit intomicrosoft:mainfrom
pavelfeldman:retarget_video
Mar 28, 2026
Merged

chore: retarget video and overlay to screencast api#39915
pavelfeldman merged 1 commit intomicrosoft:mainfrom
pavelfeldman:retarget_video

Conversation

@pavelfeldman
Copy link
Copy Markdown
Member

No description provided.


async showOverlay(html: string, options?: { duration?: number }): Promise<DisposableStub> {
const { id } = await this._page._channel.overlayShow({ html, duration: options?.duration });
return new DisposableStub(() => this._page._channel.overlayRemove({ id }));
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.

can you make the callback async to make it clear that the caller will await?

@github-actions
Copy link
Copy Markdown
Contributor

Test results for "tests 1"

1 flaky ⚠️ [firefox-page] › page/page-emulate-media.spec.ts:144 › should keep reduced motion and color emulation after reload `@firefox-ubuntu-22.04-node20`

39044 passed, 845 skipped


Merge workflow run.

@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.

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.

2 participants