browser-pool icon indicating copy to clipboard operation
browser-pool copied to clipboard

Randomly unfocused tab makes interaction halt

Open pocesar opened this issue 4 years ago • 1 comments

Sometimes the browser tab (using Chrome) will be in the background, and it seems that it's being throttled. This is a known issue with Chromium, but first tab, that is about:blank shouldn't be the one focused. It seems that both page.evaluate and page.on('response') freeze / stop calling the event listener when this happens

Might be a racing condition between loading and focusing the tab

image

pocesar avatar Sep 01 '21 07:09 pocesar

Puppeteer or Playwright?

mnmkng avatar Oct 04 '21 14:10 mnmkng