GetDocumentRequest

data class GetDocumentRequest(depth: Int?, pierce: Boolean?)

Represents request frame that can be used with DOM#getDocument operation call.

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

See also

Constructors

GetDocumentRequest
Link copied to clipboard
fun GetDocumentRequest(depth: Int? = null, pierce: Boolean? = null)

Properties

depth
Link copied to clipboard
val depth: Int? = null
The maximum depth at which children should be retrieved, defaults to 1.
pierce
Link copied to clipboard
val pierce: Boolean? = null
Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).

Sources

jvm source
Link copied to clipboard