Skip to content
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

Screen shot getting stuck forever #518

Open
Darshan-upadhyay1110 opened this issue Mar 22, 2023 · 0 comments
Open

Screen shot getting stuck forever #518

Darshan-upadhyay1110 opened this issue Mar 22, 2023 · 0 comments

Comments

@Darshan-upadhyay1110
Copy link

When we have multiple windows open and if we want to take screen shot then some times if one of the chrome window is in background and some pope up gets open in that file then process get stuck forever.

await page.screenshot({ path: fileNameAbsolute, });

will get stuck if that window is not open in foreground.

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

No branches or pull requests

1 participant