pl.wendigo.chrome.api.target / SetAutoAttachRequest

SetAutoAttachRequest

data class SetAutoAttachRequest (source)

Represents request frame that can be used with Target#setAutoAttach operation call.

Controls whether to automatically attach to new targets which are considered to be related to this one. When turned on, attaches to all existing related targets as well. When turned off, automatically detaches from all currently attached targets.

Link
Target#setAutoAttach method documentation.

See Also

TargetOperations.setAutoAttach

Constructors

<init>

SetAutoAttachRequest(autoAttach: Boolean, waitForDebuggerOnStart: Boolean, flatten: Boolean? = null, windowOpen: Boolean? = null)

Represents request frame that can be used with Target#setAutoAttach operation call.

Properties

autoAttach

val autoAttach: Boolean

Whether to auto-attach to related targets.

flatten

val flatten: 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.

waitForDebuggerOnStart

val waitForDebuggerOnStart: Boolean

Whether to pause new targets when attaching to them. Use Runtime.runIfWaitingForDebugger to run paused targets.

windowOpen

val windowOpen: Boolean?

Auto-attach to the targets created via window.open from current target.