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

ScrollIntoViewIfNeededRequest

data class ScrollIntoViewIfNeededRequest

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

Constructors

<init>

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

ScrollIntoViewIfNeededRequest(nodeId: NodeId? = null, backendNodeId: BackendNodeId? = null, objectId: RemoteObjectId? = null, rect: Rect? = null)

Properties

backendNodeId

Identifier of the backend node.

val backendNodeId: BackendNodeId?

nodeId

Identifier of the node.

val nodeId: NodeId?

objectId

JavaScript object id of the node wrapper.

val objectId: RemoteObjectId?

rect

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.

val rect: Rect?