Click or drag to resize

EmulationClient.SetFocusEmulationEnabledAsync Method

Version 86.0.240
Enables or disables simulating a focused and active page.

Namespace:  CefSharp.DevTools.Emulation
Assembly:  CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax
public Task<DevToolsMethodResponse> SetFocusEmulationEnabledAsync(
	bool enabled
)

Parameters

enabled
Type: System.Boolean
Whether to enable to disable focus emulation.

Return Value

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