The VisualViewport interface of the Visual Viewport API represents the visual viewport for a given window.
VisualViewport
MDN Reference