Puppeteer: Throttling rate should be greater or equal to 1
CPU throttling is set below a factor of 1.
CPU throttling is set below a factor of 1.
Error message
Throttling rate should be greater or equal to 1
How this error happens
The CPU throttling rate is a slowdown factor. A factor below 1 would request a speedup, which this API does not support.
The snippets use an open Puppeteer page named page.
await page.emulateCPUThrottling(
0.5
);
How to fix
Use 1 for normal speed or a larger factor to simulate a slower CPU.
await page.emulateCPUThrottling(
4
);
Things to keep in mind
CPU throttling does not simulate slow network access.