Click or drag to resize

TargetClientAttachToTargetAsync Method

Version 118.6.80
Attaches to the target with given id.

Namespace:  CefSharp.DevTools.Target
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 118.6.80.0
Syntax
public Task<AttachToTargetResponse> AttachToTargetAsync(
	string targetId,
	bool? flatten = null
)

Parameters

targetId
Type: SystemString
targetId
flatten (Optional)
Type: SystemNullableBoolean
Enables "flat" access to the session via specifying sessionId attribute in the commands.We plan to make this the default, deprecate non-flattened mode,and eventually retire it. See crbug.com/991325.

Return Value

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