-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Question] Playwright-chromium is freezing #2030
Comments
Looks like a bug in how you pass eval parameters in https://pastebin.com/raw/UjYAKxAN. Note that in Playwright you can pass at most one argument to the function in eval, otherwise you need to wrap parameters in an object and then destructure it. Try applying the following patch on top of your changes, it fixed the problem for me: { pageSize, pageSizeMinTax, pageSizeMaxTax, networkTax, renderTimeout, attemptProgress } Typescript compiler would have caught that, we should probably do a better job catching this in runtime in playwright and throw when there is more than one parameter. |
If you're using VS Code, you can add |
Hello, recently I am tried to migrate three.js library from puppeteer to playwright, we used it in WebGL testing. But for some reason it freezes on some of the screenshots (at least in linux). I will appreciate if you help me with it, because I am stuck.
Steps to reproduce a problem
Expected result
All examples are tested with screenshot without freezing
Actual result
The text was updated successfully, but these errors were encountered: