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
[BUG] (Browser.newPage): target is undefined #4922
Comments
Hi, might be connected to playwright-community/heroku-playwright-example#8 and the reason here #4740. I was also not yet able to run Firefox with 1.7.0 on Heroku. |
Seems for me it was fixed when using the next-versions (beta). Could you also try that so it can verified and is fixed in the next version. |
@mxschmitt I updated the version, but it's still not working. I'm going with another hosting site |
same here, I happens randomly on firefox browser:
|
Does it happen on Heroku here for everyone? It does look like there might not be enough memory occasionally and firefox fails to open a page. |
I agree I went with digital ocean, and it seems to work |
I have the same problem on amazon EC2, Version : 1.15.2 |
Context:
Hi Guys. I spent the last two days trying to deploy a Node.js app with Playwright library to Heroku. The code works fine in my local environment, but it failed in Heroku with the error message
target is undefined
. The website I'm trying to scrape is really heavy, and it took 10 seconds to run the following function locally. And only thewaitUntil: "networkidle"
option would work locally. I tried to disable timeout, but no luck there.I wonder if it's a Memory or CPU issue? Heroku Free tier only has 512MB in RAM.
If Heroku doesn't work, any other hosting site would work? I also attempted to use firebase but didn't get far.
Code Snippet
Describe the bug
error:
The text was updated successfully, but these errors were encountered: