Skip to content

docs(connectOverCDP): describe noDefaults via Playwright options#40607

Merged
yury-s merged 1 commit intomicrosoft:mainfrom
yury-s:docs-no-defaults-description
May 4, 2026
Merged

docs(connectOverCDP): describe noDefaults via Playwright options#40607
yury-s merged 1 commit intomicrosoft:mainfrom
yury-s:docs-no-defaults-description

Conversation

@yury-s
Copy link
Copy Markdown
Member

@yury-s yury-s commented May 4, 2026

Summary

  • Rephrase BrowserType.connectOverCDP({ noDefaults }) to refer to Playwright API options (acceptDownloads, colorScheme / reducedMotion / forcedColors / contrast, focus emulation) instead of CDP commands (Browser.setDownloadBehavior, Emulation.setFocusEmulationEnabled, Emulation.setEmulatedMedia).
  • Fix the since tag from v1.53 to v1.60.

Replace CDP-level command names with the Playwright API options they
correspond to (acceptDownloads, color-scheme/reduced-motion/forced-colors/
contrast media emulation, focus emulation). Also fix the `since` tag to
v1.60.
@yury-s yury-s merged commit ee9b6f5 into microsoft:main May 4, 2026
41 of 43 checks passed
@yury-s yury-s deleted the docs-no-defaults-description branch May 4, 2026 18:58
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

Test results for "MCP"

3 failed
❌ [chrome] › mcp/autowait.spec.ts:19 › racy navigation destroys context @mcp-windows-latest-chrome
❌ [msedge] › mcp/http.spec.ts:103 › http transport browser lifecycle (isolated) @mcp-windows-latest-msedge
❌ [msedge] › mcp/http.spec.ts:142 › http transport browser sigint @mcp-windows-latest-msedge

6873 passed, 1015 skipped


Merge workflow run.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

Test results for "tests 1"

2 flaky ⚠️ [chromium-library] › library/video.spec.ts:682 › screencast › should capture full viewport on hidpi `@ubuntu-22.04-chromium-tip-of-tree`
⚠️ [chromium-library] › library/video.spec.ts:275 › screencast › should capture navigation `@chromium-ubuntu-22.04-node20`

41579 passed, 847 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