Skip to content

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

Merged
Yury Semikhatsky (yury-s) merged 1 commit into
microsoft:mainfrom
yury-s:docs-no-defaults-description
May 4, 2026
Merged

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

Conversation

@yury-s

Copy link
Copy Markdown
Member

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

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown
Contributor

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

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown
Contributor

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