question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to make sure a tab in background will keep running?

See original GitHub issue

Scenario: I am launching chrome with following flags:

      '--disable-background-timer-throttling',
      '--enable-automation',
      '--disable-renderer-backgrounding',
      '--disable-backgrounding-occluded-windows',
      '--disable-ipc-flooding-protection',

And then utilizing puppeteer to do some operations in a tab in the background while I keep focus on a separate tab.

Expectation: The tasks should happen at normal pace in the background tab Reality: The tasks in the background tab are throttled

Please let me know if there are other details that I can provide. Thanks!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
VikramTiwaricommented, May 23, 2020

Sorry for such a delayed response @ecolss.

Hope these answers are helpful.

1reaction
paulirishcommented, Sep 10, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to keep a tab active in the background in Chrome?
go to chrome://discards/ and look for the tab title you want to keep active, then click on 'Toggle' under 'Auto Discardable'. Tick mark...
Read more >
How do I let tabs run in background without stopping each ...
Open your music in a separate window, not tab. That should keep your music going unless you saturate your entire installed memory. Last...
Read more >
How to Make Google Chrome Tabs Remain Always Active.
To do this, open the browser, then type chrome://flags into the address bar and press Enter. Now use the search box at the...
Read more >
How can I get Chrome to stop killing my tabs in the ...
On that page, if you have automatic tab discarding still enabled, you can click "Toggle" next to any tab to prevent it from...
Read more >
Keep my code running in the background on one browsertab
Chrome and other browsers have some restrictions on JavaScript running in an inactive tab (low priority, timeout interval must be > 1000 ms, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found