Skip to main content

ScrollResponse

Response returned after having scrolling inside the page

type ScrollResponse {
selector: String
time: Float
x: Float
y: Float
}

Fields

ScrollResponse.selector ● String scalar

The CSS selector of the element on the page you want to scroll to

ScrollResponse.time ● Float scalar

The amount of time, in milliseconds, elapsed since the start of scrolling to completion

ScrollResponse.x ● Float scalar

The X coordinate, in pixels, to scroll to

ScrollResponse.y ● Float scalar

The Y coordinate, in pixels, to scroll to

Returned By

scroll mutation