feat(api): add filter option to Page.pageErrors() and stop clearing page errors on navigate#39615
feat(api): add filter option to Page.pageErrors() and stop clearing page errors on navigate#39615yury-s wants to merge 5 commits intomicrosoft:mainfrom
Conversation
Adds a `filter` option ('all' | 'sinceNavigation') to
`Page.consoleMessages()`. When 'sinceNavigation' is passed, only
messages logged after the last committed main-frame navigation are
returned. The last pre-navigation message is marked with a symbol
in the shared array — no separate array needed.
…age errors on navigate
|
This PR depends on #39608 |
Test results for "MCP"8 failed 5145 passed, 164 skipped Merge workflow run. |
Test results for "tests 1"2 failed 5 flaky38960 passed, 847 skipped Merge workflow run. |
| - `filter` <[PageErrorsFilter]<"all"|"sinceNavigation">> | ||
|
|
||
| Controls which errors are returned: | ||
| - `'sinceNavigation'` (default) — returns only errors thrown after the last committed main-frame navigation. |
|
Subsumed by #39608 |
No description provided.