ScreenshotNeo

BlogHow-to

How to Capture a Responsive Website Screenshot at POCO X6 Screen Size

Emulate a POCO X6 in Chrome DevTools or inspect the real phone. Learn why its panel resolution is not its CSS viewport size.

By the ScreenshotNeo team4 October 20267 min read

To capture a responsive website at POCO X6 screen size, either emulate a chosen mobile viewport in Chrome DevTools or open the page on an actual POCO X6 and inspect its Chrome tab using Android remote debugging. Xiaomi lists the phone’s display resolution as 2712 × 1220 physical pixels, but that is not a confirmed CSS viewport size. For a repeatable approximation, record the CSS viewport width and height, device pixel ratio (DPR), orientation, browser version, and capture type you choose. For the closest match to a particular phone, use that phone itself.

1. Understand POCO X6 resolution versus CSS viewport

A display’s physical pixels and a webpage’s CSS pixels describe different things. Android webpages lay out in CSS pixels; the relationship between CSS pixels and physical pixels depends on display density and browser configuration. Chrome defines DPR as the ratio of physical screen pixels to CSS pixels. Xiaomi lists the POCO X6 at 2712 × 1220 pixels and 446 PPI, but those specifications do not establish one CSS viewport width and DPR for every phone, software configuration, browser, and orientation. Do not enter 2712 × 1220 in DevTools and call it the phone’s responsive viewport. Xiaomi’s POCO X6 specifications, Android’s web app screen guidance, and Chrome’s device mode documentation explain the relevant specifications and scaling concepts.

If your page needs a viewport meta tag, check that it declares the layout viewport appropriately, commonly <meta name="viewport" content="width=device-width, initial-scale=1">. Without a suitable viewport declaration, mobile browsers may lay out the page using a wider virtual viewport and scale it down, so a narrow emulation may not behave as expected.

2. Capture an emulated mobile viewport in Chrome DevTools

  1. Open the target page in desktop Chrome and open DevTools.
  2. Enable the device toolbar. Device mode starts with a Responsive viewport.
  3. Enter the CSS width and height you want to evaluate. These should be values you measured on a particular POCO X6 or an explicitly labeled approximation; they are not derived here from the 2712 × 1220 panel specification.
  4. Choose a DPR if your work depends on high-density rendering, window.devicePixelRatio, or DPR-sensitive media and image assets. DPR does not replace viewport width and height.
  5. Choose the orientation and verify the page at the relevant scroll position. Test portrait and landscape separately if both matter.
  6. Use DevTools’ More options > Capture screenshot for a visible viewport capture. If you need a full-page image, check the current DevTools screenshot options and label the resulting capture as full-page rather than viewport-only.
  7. Record the CSS width, height, DPR, orientation, Chrome version, and whether the image is viewport-only or full-page.

Chrome supports custom dimensions, DPR controls, and viewport screenshot capture in device mode. These settings approximate a device profile; they do not reproduce the POCO X6’s exact browser, fonts, GPU, operating system, or display configuration.

3. Inspect the actual POCO X6 with remote debugging

  1. Enable the phone’s Android developer and USB debugging settings, then connect it to your development computer.
  2. Open the target URL in Chrome on the POCO X6 and accept the debugging authorization prompt if it appears.
  3. On desktop Chrome, open chrome://inspect/#devices, find the phone’s tab, and select Inspect.
  4. Use the remote DevTools session to inspect the page running in the phone’s own Chrome. Check the actual viewport and runtime values rather than assuming them from the panel resolution.
  5. Capture the page viewport in DevTools if that is the deliverable. If you need the entire handset display, including system areas, use the phone’s own screenshot function and verify the saved image dimensions.

Chrome’s Android remote-debugging guide describes inspecting Chrome tabs on a connected device. Its screencast view represents page content; transparent regions may correspond to the address bar, status bar, or keyboard. A DevTools screencast is therefore not necessarily a full-phone screenshot, and Chrome notes that screencasting can affect frame rate.

4. Choose the right kind of screenshot

Capture goal Use What it includes
Check responsive layout at a chosen size Chrome device mode with custom CSS dimensions and DPR The emulated page viewport
Check actual POCO X6 browser behavior Chrome on the phone with desktop remote debugging The page as rendered by that handset and browser
Show the complete web page A full-page capture option, if available in the current tool Page content beyond the initial visible viewport
Show the whole phone screen The handset’s screenshot function Page plus browser and system UI that the phone includes

State the capture type in bug reports and design reviews. “POCO X6 screenshot” alone can mean a viewport image, a full-page image, or a full-device image, and those outputs are not interchangeable.

5. Check the emulation in page code

In DevTools Console, inspect the values the page receives. On the real phone, run the same snippet through the remote DevTools session:

console.table({
  viewportWidthCssPx: window.innerWidth,
  viewportHeightCssPx: window.innerHeight,
  devicePixelRatio: window.devicePixelRatio,
  screenWidthCssPx: window.screen.width,
  screenHeightCssPx: window.screen.height,
  orientation: screen.orientation?.type
});

innerWidth and innerHeight report the current layout viewport in CSS pixels; they can change with orientation, browser UI, and resizing. devicePixelRatio describes the physical-to-CSS scaling factor exposed to the page. Record the readings alongside the screenshot. For a live phone, also note Android and Chrome versions and display settings when those details could affect a bug.

6. Troubleshooting

Symptom Likely cause What to do
Page does not look mobile at a narrow DevTools width The site may lack a suitable viewport meta tag, or the width was entered in physical rather than CSS pixels. Check the page’s viewport tag and use CSS dimensions in device mode.
Screenshot dimensions differ from the entered viewport The exported bitmap dimensions can reflect DPR, while the emulated layout dimensions are CSS pixels. Compare the DevTools CSS dimensions and DPR separately from the output image’s pixel dimensions.
Can’t find the phone in chrome://inspect USB debugging, the connection, authorization, or Chrome’s device discovery may not be ready. Check the cable and debugging setting, unlock the phone, accept its authorization prompt, and reload the devices page.
Remote tab is missing The target is not open in Chrome on the phone, or the phone has not established a debugging connection. Open the page in mobile Chrome, reconnect, and check the listed device and tab.
Screencast has blank or transparent regions Some browser or system interface regions are not rendered as page content in the screencast. Use the phone’s screenshot function for a complete device image.
Fonts, touch behavior, or breakpoints differ from the phone Desktop emulation approximates device conditions and does not duplicate the phone’s browser and operating system. Reproduce on the real POCO X6 using remote debugging and capture the actual device when fidelity matters.
Page content is cut off below the visible area A viewport screenshot captures only what is visible at the current scroll position. Capture full-page output if supported, or capture additional scroll positions and label them clearly.

7. Performance, reliability, and cost

DevTools emulation is a quick, reproducible way to check layout at an explicitly chosen viewport, but it cannot guarantee identical rendering to the phone. Actual-device inspection is more faithful to that handset’s current browser and settings, but requires the device and a working debugging connection. For a robust check, use emulation for repeatable breakpoint coverage and the physical phone for issues involving browser behavior, fonts, touch, or device-specific rendering.

There is no need to infer or publish one universal POCO X6 CSS viewport size from the panel specification. Measure a target handset at runtime, or describe your DevTools dimensions as a test configuration. Capture viewport-only output when validating responsive layout; request a full-page or full-device capture only when that is what the review needs.

8. Or skip the browser setup

ScreenshotNeo is a website screenshot API and MCP server for developers. Its API accepts a URL in one GET request and returns PNG, JPEG, WebP, or PDF. You can set viewport dimensions and a device preset; for exact POCO X6 behavior, measure the phone’s runtime CSS viewport and use the real handset for verification. The API does not turn the POCO X6’s physical panel resolution into a universal CSS viewport automatically.

For API parameters and configuration, see the ScreenshotNeo documentation. This request captures a page at an explicitly chosen example viewport; replace the width and height with the CSS dimensions you want to test:

curl -G "https://api.screenshotneo.com/v1/shot" \
  -d access_key=YOUR_API_KEY \
  --data-urlencode url=https://example.com \
  -d width=393 \
  -d height=873 \
  -o poco-x6-viewport.webp

The example dimensions are illustrative and are not asserted to be the POCO X6’s CSS viewport. ScreenshotNeo can also accept the parameter names used by other screenshot APIs to make switching easier.

ScreenshotNeo removes cookie banners, newsletter popups, and chat widgets before the shot, with each cleanup step configurable. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed; response headers identify the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients. The free plan includes 1,000 screenshots each month with no card; paid plans start at $5 for 3,000 shots. Sign up for 1,000 free screenshots a month, no card required.

9. FAQ

Is 2712 × 1220 the POCO X6 browser viewport?

No. It is the manufacturer’s physical display resolution. The CSS viewport depends on density scaling, browser, settings, and orientation.

Can Chrome DevTools emulate the exact POCO X6?

It can emulate chosen dimensions and DPR. For behavior tied to the actual handset, inspect its Chrome tab through remote debugging.

Does a viewport screenshot include the address bar and status bar?

No. It captures webpage content. Use the phone’s screenshot function when the full device screen is needed.

Should I test portrait and landscape?

Yes, if the page is expected to work in both orientations. Measure and record each viewport separately.