Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method Page.prototype.emulateCPUThrottling
import { Page } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/common/Page.js";

Enables CPU throttling to emulate slow CPUs.

Parameters

factor: number | null
  • slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).

Returns

Promise<void>