Skip to content

fix(tracing): title the waits in the trace like the Node.js client - #2023

Merged
Yury Semikhatsky (yury-s) merged 2 commits into
microsoft:mainfrom
yury-s:fix-wait-title
Oct 26, 2026
Merged

Yury Semikhatsky (yury-s) merged 2 commits into
microsoft:mainfrom
yury-s:fix-wait-title

Conversation

@yury-s

Copy link
Copy Markdown
Member

Summary

  • The wait info of waitForConsoleMessage() and the other event waits carried no event name and no title, so the trace viewer showed them as __waitInfo__; the before message now carries the event and the Node.js title (Wait for event "console", Wait for navigation), set for that message only so that the calls made from the callback of the wait stay visible.
  • BrowserContext.waitForPage() was reported under the name of BrowserContext.close().

https://claude.ai/code/session_018p7xPf3r5VjAM7V46nzFTM

The wait info sent for waitForConsoleMessage() and the other event waits had
no event name and no title, so the trace viewer showed them as __waitInfo__.
The before message of a wait now carries the event and the title of the
Node.js client, "Wait for event "console"" or "Wait for navigation", set for
that message only so that the calls made from the callback of the wait stay
visible. The wait of BrowserContext.waitForPage() was reported under the
name of BrowserContext.close().

Claude-Session: https://claude.ai/code/session_018p7xPf3r5VjAM7V46nzFTM
@yury-s
Yury Semikhatsky (yury-s) merged commit 5883d77 into microsoft:main Oct 26, 2026
17 of 19 checks passed
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