Click or drag to resize

TargetClient.AttachToTargetAsync Method

Version 102.0.100
Attaches to the target with given id.

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

Parameters

targetId
Type: System.String
targetId
flatten (Optional)
Type: System.Nullable<Boolean>
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: Task<AttachToTargetResponse>
returns System.Threading.Tasks.Task<AttachToTargetResponse>
See Also