attachToTarget

Attaches to the target with given id.


suspend fun attachToTarget(targetId: String, flatten: Boolean? = null): Target.AttachToTargetReturn

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.