attachToTarget
suspend fun attachToTarget(args: Target.AttachToTargetParameter, mode: CommandMode = CommandMode.DEFAULT): Target.AttachToTargetReturn
Attaches to the target with given id.
Attaches to the target with given id.
Parameters
targetId
No description
flatten
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.