Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Removed disable-background-timer-throttling Chrome arg, it's added by default

Jan Curn6a67922f435c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0ea6f239f..70e442723 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,7 @@
xxx
==================
-- Automatically adding `--disable-background-timer-throttling` and `--enable-resource-load-scheduler=false`
- Chrome flags in `Apify.launchPuppeteer()`
+- Automatically adding `--enable-resource-load-scheduler=false`
+ Chrome flag in `Apify.launchPuppeteer()`
to make crawling of pages in all tabs run equally fast.
0.9.3 / 2018-11-12
diff --git a/src/puppeteer.js b/src/puppeteer.js
index 8eb4413bf..e0c1631ce 100644
--- a/src/puppeteer.js
+++ b/src/puppeteer.js
@@ -157,8 +157,7 @@ const getPuppeteerOrThrow = () => {
* <li>
* The function adds <code>--no-sandbox</code> to <code>args</code> to enable running
* headless Chrome in a Docker container on the Apify platform.
- * Also it adds <code>--disable-background-timer-throttling</code>
- * and <code>--enable-resource-load-scheduler=false</code>
+ * Also it adds <code>--enable-resource-load-scheduler=false</code>
* to make crawling of pages in all tabs run equally fast.
* </li>
* </ul>
@@ -197,7 +196,6 @@ export const launchPuppeteer = (options = {}) => {
optsCopy.args = optsCopy.args || [];
optsCopy.args.push('--no-sandbox');
- optsCopy.args.push('-—disable-background-timer-throttling');
// TODO: It's not clear that this works, keep eye on https://bugs.chromium.org/p/chromium/issues/detail?id=723233
optsCopy.args.push('--enable-resource-load-scheduler=false');
if (optsCopy.headless == null) {