The following settings must be set to prevent Browser to put inactive tabs to sleep.


Google Chrome


Microsoft Edge


Mozilla Firefox

See also https://firefox-source-docs.mozilla.org/browser/tabunloader/