Metadata associated with a screencast frame. Provides information about the state of the page when the frame was captured. All dimensions and offsets are in CSS pixels unless otherwise noted.

Definition

object ScreencastFrameMetadata {
  offsetTop: Float!
  pageScaleFactor: Float!
  deviceWidth: Float!
  deviceHeight: Float!
  scrollOffsetX: Float!
  scrollOffsetY: Float!
  timestamp: Float!
}

Fields

offsetTop

Float! Vertical offset of the captured viewport area from the top of the page, in CSS pixels.

pageScaleFactor

Float! The scale factor of the page content. Example: 1.0 for 100% zoom.

deviceWidth

Float! The width of the device viewport, in CSS pixels.

deviceHeight

Float! The height of the device viewport, in CSS pixels.

scrollOffsetX

Float! Horizontal scroll offset of the page, in CSS pixels.

scrollOffsetY

Float! Vertical scroll offset of the page, in CSS pixels.

timestamp

Float! Timestamp when the frame was captured, as a Unix timestamp in milliseconds.