pl.wendigo.chrome.api.emulation / SetCPUThrottlingRateRequest

SetCPUThrottlingRateRequest

data class SetCPUThrottlingRateRequest (source)

Represents request frame that can be used with Emulation#setCPUThrottlingRate operation call.

Enables CPU throttling to emulate slow CPUs.

Link
Emulation#setCPUThrottlingRate method documentation.

See Also

EmulationOperations.setCPUThrottlingRate

Constructors

<init>

SetCPUThrottlingRateRequest(rate: Double)

Represents request frame that can be used with Emulation#setCPUThrottlingRate operation call.

Properties

rate

val rate: Double

Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).