GetFlattenedDocumentParameter

@Serializable
data class GetFlattenedDocumentParameter(val depth: Int? = null, val pierce: Boolean? = null)

Constructors

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

Properties

Link copied to clipboard
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.

Link copied to clipboard

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