Click or drag to resize

PageClientSetWebLifecycleStateAsync Method

Version 94.4.20
Tries to update the web lifecycle state of the page. It will transition the page to the given state according to: https://github.com/WICG/web-lifecycle/

Namespace:  CefSharp.DevTools.Page
Assembly:  CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax
public Task<DevToolsMethodResponse> SetWebLifecycleStateAsync(
	SetWebLifecycleStateState state
)

Parameters

state
Type: CefSharp.DevTools.PageSetWebLifecycleStateState
Target lifecycle state

Return Value

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