Click or drag to resize

BrowserClientGetWindowForTargetAsync Method

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

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

Parameters

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

Return Value

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