From b7b2bb9fa0ae6d6b3285c4585beb7e0d84cdceae Mon Sep 17 00:00:00 2001 From: iBombit <65038584+iBombit@users.noreply.github.com> Date: Tue, 7 Apr 2026 16:43:17 +0300 Subject: [PATCH 1/2] [1.3.4] updating framework version --- docker/v13.0.3/package-lock.json | 8 ++++---- docker/v13.0.3/package.json | 2 +- package-lock.json | 8 ++++---- package.json | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docker/v13.0.3/package-lock.json b/docker/v13.0.3/package-lock.json index 4928944..c771543 100644 --- a/docker/v13.0.3/package-lock.json +++ b/docker/v13.0.3/package-lock.json @@ -13,7 +13,7 @@ "csv-parser": "^3.2.0", "es-main": "^1.4.0", "express": "^5.2.1", - "lh-pptr-framework": "1.3.3", + "lh-pptr-framework": "1.3.4", "lighthouse": "^13.0.3", "logform": "^2.7.0", "mocha": "^11.7.5", @@ -2918,9 +2918,9 @@ "license": "Apache-2.0" }, "node_modules/lh-pptr-framework": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/lh-pptr-framework/-/lh-pptr-framework-1.3.3.tgz", - "integrity": "sha512-s19E5Le/Q0uUrDIlP08rt9WI8SyAte4vKM9XMwdwl5eB+wY+apOa1nIbVmM4ONvjPWXxHAA9d7a9Qr2Cm/Rmjg==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/lh-pptr-framework/-/lh-pptr-framework-1.3.4.tgz", + "integrity": "sha512-KmztTP3P97ESS/BIAa7Yod6cvx6Tn53LW9kacYtLCyKxphQuSZrfDTMAvB/R1IV7MZcpuwRJ7pBJv7n/BHxxqA==", "license": "ISC" }, "node_modules/lighthouse": { diff --git a/docker/v13.0.3/package.json b/docker/v13.0.3/package.json index 5f0ac7f..3c58c5c 100644 --- a/docker/v13.0.3/package.json +++ b/docker/v13.0.3/package.json @@ -10,7 +10,7 @@ "crawl": "node crawler/crawler.js" }, "dependencies": { - "lh-pptr-framework": "1.3.3", + "lh-pptr-framework": "1.3.4", "lighthouse": "^13.0.3", "puppeteer": "^24.38.0", "chai": "^6.2.2", diff --git a/package-lock.json b/package-lock.json index 4928944..c771543 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "csv-parser": "^3.2.0", "es-main": "^1.4.0", "express": "^5.2.1", - "lh-pptr-framework": "1.3.3", + "lh-pptr-framework": "1.3.4", "lighthouse": "^13.0.3", "logform": "^2.7.0", "mocha": "^11.7.5", @@ -2918,9 +2918,9 @@ "license": "Apache-2.0" }, "node_modules/lh-pptr-framework": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/lh-pptr-framework/-/lh-pptr-framework-1.3.3.tgz", - "integrity": "sha512-s19E5Le/Q0uUrDIlP08rt9WI8SyAte4vKM9XMwdwl5eB+wY+apOa1nIbVmM4ONvjPWXxHAA9d7a9Qr2Cm/Rmjg==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/lh-pptr-framework/-/lh-pptr-framework-1.3.4.tgz", + "integrity": "sha512-KmztTP3P97ESS/BIAa7Yod6cvx6Tn53LW9kacYtLCyKxphQuSZrfDTMAvB/R1IV7MZcpuwRJ7pBJv7n/BHxxqA==", "license": "ISC" }, "node_modules/lighthouse": { diff --git a/package.json b/package.json index 5f0ac7f..3c58c5c 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "crawl": "node crawler/crawler.js" }, "dependencies": { - "lh-pptr-framework": "1.3.3", + "lh-pptr-framework": "1.3.4", "lighthouse": "^13.0.3", "puppeteer": "^24.38.0", "chai": "^6.2.2", From 18f8fb11876eddd140f30b5daf25b4b09fe1066f Mon Sep 17 00:00:00 2001 From: iBombit <65038584+iBombit@users.noreply.github.com> Date: Tue, 7 Apr 2026 16:48:04 +0300 Subject: [PATCH 2/2] update readme with onlyCategories docs --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 8982ba9..37224ee 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,10 @@ This parameter allows you to pass a custom JSON file to override the default Lig "cpuSlowdownMultiplier": 2 }, "formFactor": "mobile", + "onlyCategories": [ + "performance", + "server-side" + ], "screenEmulation": { "mobile": true, "width": 375, @@ -79,6 +83,12 @@ The `browserArgs` section allows you to customize Puppeteer browser launch argum - **headless**: Arguments used when `--headless=true` - **headful**: Arguments used when `--headless=false` +#### Category Filtering + +The `onlyCategories` setting limits which Lighthouse categories appear in the report. You can include both built-in categories (`performance`, `accessibility`, `best-practices`, `seo`) and custom ones (`server-side`). + +Categories are automatically filtered by gather mode — for example, `server-side` only supports `navigation` and `timespan` modes, so it is excluded from snapshot steps automatically. + Common browser arguments include: - `--no-sandbox` - Disable the sandbox - `--disable-gpu` - Disable GPU acceleration