New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Playwright-go randomly hangs? #362
Comments
Just another observation: When Node.js dies underneath Playwright-go, it usually just prints out an error to console like this:
After which, your go application just dies because it never gets control again (and ends up waiting for something forever?). Because this isn't easy to reproduce (Except to let your automation app run in a loop until it happens), I can't tell at which place we're locking up. Perhaps if tracking down the initial problem is too hard due to not having a reliable test case, maybe we could track down all the areas external calls to |
There are indeed deadlock issues that are difficult to reproduce. Could you please test it with this change? The latest commit adds a client-side timeout for events with a timeout parameter. |
Well, I'm writing because I think it's worth mentioning, I'm facing with exact same issue on latest official playwright (nodejs) library using firefox connection. |
Hi Everyone,
Maybe I'm alone on this, but I found that the latest playwright-go release seems to hang randomly once in a while for me. So if I have an app which is called, does some automation / work, then shuts down (maybe after an hour?), and is called again in a bash script loop continuously, sometimes everything locks up.
When this happens, my go program doesn't move to the next statement (whatever that might be) and the browser window doesn't appear to be doing anything. In some cases, it isn't even visible anymore (crash perhaps?). Killing the firefox processes I found doesn't seem to make program execution continue, and eventually get a defunct playwright-go process which becomes a zombie.
Is this something anyone else has experienced with the new build?
The text was updated successfully, but these errors were encountered: