Skip to content

feat(api): add Page.clearConsoleMessages method#39242

Merged
yury-s merged 1 commit intomicrosoft:mainfrom
yury-s:feat/page-clear-console-messages
Feb 12, 2026
Merged

feat(api): add Page.clearConsoleMessages method#39242
yury-s merged 1 commit intomicrosoft:mainfrom
yury-s:feat/page-clear-console-messages

Conversation

@yury-s
Copy link
Member

@yury-s yury-s commented Feb 12, 2026

Adds a method to clear stored console messages from a page, so that subsequent calls to consoleMessages() only return messages logged after the clear.

Adds a method to clear stored console messages from a page, so that
subsequent calls to consoleMessages() only return messages logged
after the clear.
@github-actions
Copy link
Contributor

Test results for "tests 1"

1 flaky ⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1082 › cli codegen › should not throw csp directive violation errors `@firefox-ubuntu-22.04-node20`

38531 passed, 843 skipped


Merge workflow run.

@github-actions
Copy link
Contributor

Test results for "MCP"

5 failed
❌ [chrome] › mcp/roots.spec.ts:47 › check that trace is saved in workspace @mcp-windows-latest
❌ [chromium] › mcp/tracing.spec.ts:21 › check that trace is saved with --save-trace @mcp-windows-latest
❌ [chrome] › mcp/cli-core.spec.ts:98 › hover @mcp-macos-15
❌ [chrome] › mcp/cli-session.spec.ts:222 › incompatible version - named session includes session name in error @mcp-macos-15
❌ [chromium] › mcp/cli-parsing.spec.ts:63 › should preserve leading zeros in string arguments @mcp-macos-15

4787 passed, 135 skipped


Merge workflow run.

@yury-s yury-s merged commit aa391ca into microsoft:main Feb 12, 2026
31 of 33 checks passed
@yury-s yury-s deleted the feat/page-clear-console-messages branch February 12, 2026 22:16
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