diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d3dd43..5fe8780 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - Require Dart 3.0 - Log errors from chrome - Allow tests to detect headless-only environment (for CI). +- Add extra flags that may help disable additional throttling in background tabs ## 1.1.1 diff --git a/lib/src/chrome.dart b/lib/src/chrome.dart index 7680765..b8524bb 100644 --- a/lib/src/chrome.dart +++ b/lib/src/chrome.dart @@ -102,6 +102,8 @@ class Chrome { '--remote-debugging-port=$port', // When the DevTools has focus we don't want to slow down the application. '--disable-background-timer-throttling', + '--disable-blink-features=TimerThrottlingForBackgroundTabs', + '--disable-features=IntensiveWakeUpThrottling', // Since we are using a temp profile, disable features that slow the // Chrome launch. if (!signIn) '--disable-extensions',