Skip to content

Conversation

mxschmitt
Copy link
Member

Fixes #2426

Mirror of:

# No reply messages are used to e.g. waitForEventInfo(after) which returns exceptions on page close.
# To prevent 'Future exception was never retrieved' we just ignore such messages.
if callback.no_reply:
return

@mxschmitt mxschmitt force-pushed the fix-connect-close-promise branch from 892abc7 to 75d3afe Compare May 2, 2024 11:13
@mxschmitt mxschmitt changed the title fix(connect): Future exception was never retrieved with connect fix(connect): Future exception was never retrieved on close() May 2, 2024
@mxschmitt mxschmitt merged commit cb94c25 into microsoft:main May 2, 2024
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.

[Bug]: Future finished exception=TargetClosedError('Target page, context or browser has been closed')
2 participants