ScrollIntoViewIfNeededRequest

@Serializable
data class ScrollIntoViewIfNeededRequest(val nodeId: NodeId? = null, val backendNodeId: BackendNodeId? = null, val objectId: RemoteObjectId? = null, val rect: Rect? = null)(source)

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

Constructors

Link copied to clipboard
constructor(nodeId: NodeId? = null, backendNodeId: BackendNodeId? = null, objectId: RemoteObjectId? = null, rect: Rect? = null)

Types

Link copied to clipboard
class Builder

Properties

Link copied to clipboard

Identifier of the backend node.

Link copied to clipboard
val nodeId: NodeId? = null

Identifier of the node.

Link copied to clipboard

JavaScript object id of the node wrapper.

Link copied to clipboard
val rect: Rect? = null

The rect to be scrolled into view, relative to the node's border box, in CSS pixels. When omitted, center of the node will be used, similar to Element.scrollIntoView.