Click or drag to resize

BrowserClient.GetWindowForTargetAsync Method

Version 94.4.20
Get the browser window that contains the devtools target.

Namespace:  CefSharp.DevTools.Browser
Assembly:  CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax
public Task<GetWindowForTargetResponse> GetWindowForTargetAsync(
	string targetId = null
)

Parameters

targetId (Optional)
Type: System.String
Devtools agent host id. If called as a part of the session, associated targetId is used.

Return Value

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