PageClientSetWebLifecycleStateAsync Method |
Version 130.1.90
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.PageAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> SetWebLifecycleStateAsync(
SetWebLifecycleStateState state
)
public:
Task<DevToolsMethodResponse^>^ SetWebLifecycleStateAsync(
SetWebLifecycleStateState state
)
Parameters
- state SetWebLifecycleStateState
- Target lifecycle state
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also