code: func (c *Page) SetDeviceMetricsOverride(width int, height int, deviceScaleFactor float64, mobile bool, scale float64, screenWidth int, screenHeight int, positionX int, positionY int, dontSetVisibleSize bool, screenOrientation *EmulationScreenOrientation, viewport *PageViewport) (*gcdmessage.ChromeResponse, error) {
  	var v PageSetDeviceMetricsOverrideParams
  	v.Width = width
  	v.Height = height
  	v.DeviceScaleFactor = deviceScaleFactor
  	v.Mobile = mobile
  	v.Scale = scale
  	v.ScreenWidth = screenWidth
  	v.ScreenHeight = screenHeight
  	v.PositionX = positionX
  	v.PositionY = positionY
  	v.DontSetVisibleSize = dontSetVisibleSize
  	v.ScreenOrientation = screenOrientation
  	v.Viewport = viewport
  	return c.SetDeviceMetricsOverrideWithParams(&v)
  }
docs: // SetDeviceMetricsOverride - Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media query results).
  // width - Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
  // height - Overriding height value in pixels (minimum 0, maximum 10000000). 0 disables the override.
  // deviceScaleFactor - Overriding device scale factor value. 0 disables the override.
  // mobile - Whether to emulate mobile device. This includes viewport meta tag, overlay scrollbars, text autosizing and more.
  // scale - Scale to apply to resulting view image.
  // screenWidth - Overriding screen width value in pixels (minimum 0, maximum 10000000).
  // screenHeight - Overriding screen height value in pixels (minimum 0, maximum 10000000).
  // positionX - Overriding view X position on screen in pixels (minimum 0, maximum 10000000).
  // positionY - Overriding view Y position on screen in pixels (minimum 0, maximum 10000000).
  // dontSetVisibleSize - Do not set visible view size, rely upon explicit setVisibleSize call.
  // screenOrientation - Screen orientation override.
  // viewport - The viewport dimensions and scale. If not set, the override is cleared.