chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.dom / GetDocumentRequest

GetDocumentRequest

data class GetDocumentRequest

Request object containing input parameters for the DOMDomain.getDocument command.

Constructors

<init>

Request object containing input parameters for the DOMDomain.getDocument command.

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

Properties

depth

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 depth: Int?

pierce

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

val pierce: Boolean?