Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.DOM.ScrollIntoViewIfNeededRequest

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.DOM.ScrollIntoViewIfNeededRequest
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { ScrollIntoViewIfNeededRequest } = Protocol.DOM;

Properties

optional
nodeId: NodeId

Identifier of the node.

optional
backendNodeId: BackendNodeId

Identifier of the backend node.

optional
objectId: Runtime.RemoteObjectId

JavaScript object id of the node wrapper.

optional
rect: 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.