Open Darshan-upadhyay1110 opened 1 year ago
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.
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.