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

Randomly unfocused tab makes interaction halt #45

Open
pocesar opened this issue Sep 1, 2021 · 1 comment
Open

Randomly unfocused tab makes interaction halt #45

pocesar opened this issue Sep 1, 2021 · 1 comment

Comments

@pocesar
Copy link
Contributor

pocesar commented Sep 1, 2021

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

@mnmkng
Copy link
Member

mnmkng commented Oct 4, 2021

Puppeteer or Playwright?

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

2 participants