data class GetDocumentRequest
(source)
Represents request frame that can be used with DOM.getDocument method call.
Returns the root DOM node (and optionally the subtree) to the caller.
GetDocumentRequest(depth: Int? = null, pierce: Boolean? = null)
Represents request frame that can be used with DOM.getDocument method call. |
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. |
|
val pierce: Boolean?
Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false). |