You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with recently feature(pull/630), playwright-python can connect to remote websocket endpoint, but with this feature, a bug become obvious.
playwright-python doesn't handle the transport's connection error during the connecting, if error found during the connecting. the task will be hang, because below code will never return.
mxschmitt
changed the title
hang bug in PlaywrightContextManager and Transport
[internal] hang bug in PlaywrightContextManager and Transport
Apr 26, 2021
) (microsoft#651)"
This reverts commit 82885a1.
Sorry about the revert. I don't think this handles the connection
timeout properly, so let me see if we can get a better fix here.
…" (#670)
This reverts commit 82885a1.
Sorry about the revert. I don't think this handles the connection
timeout properly, so let me see if we can get a better fix here.
Uh oh!
There was an error while loading. Please reload this page.
with recently feature(pull/630), playwright-python can connect to remote websocket endpoint, but with this feature, a bug become obvious.
playwright-python
doesn't handle the transport's connection error during the connecting, if error found during the connecting. the task will be hang, because below code will never return.https://github.com/microsoft/playwright-python/blob/master/playwright/async_api/_context_manager.py#L37
eg:
Connect call failed
inWebSocketTransport
.maybe we should wait the
obj
andTransport.on_error_future
same time inPlaywrightContextManager
like this:The text was updated successfully, but these errors were encountered: