Click or drag to resize

EmulationClient.SetCPUThrottlingRateAsync Method

Version 107.1.120
Enables CPU throttling to emulate slow CPUs.

Namespace:  CefSharp.DevTools.Emulation
Assembly:  CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.0)
Syntax
public Task<DevToolsMethodResponse> SetCPUThrottlingRateAsync(
	double rate
)

Parameters

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

Return Value

Type: Task<DevToolsMethodResponse>
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also