pl.wendigo.chrome.domain.dom / GetFlattenedDocumentRequest

GetFlattenedDocumentRequest

data class GetFlattenedDocumentRequest (source)

Represents request frame that can be used with DOM.getFlattenedDocument method call.

Returns the root DOM node (and optionally the subtree) to the caller.

Constructors

<init>

GetFlattenedDocumentRequest(depth: Int? = null, pierce: Boolean? = null)

Represents request frame that can be used with DOM.getFlattenedDocument method call.

Properties

depth

val depth: Int?

The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.

pierce

val pierce: Boolean?

Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).