Choose the method based on the behavior you want to verify. Desktop emulation gives you a fast way to test layout at specific sizes or sending a touch event. A real phone is the best check for operating system interactions, the installed browser build, and the physical device.
| Method | Useful for | What to verify elsewhere |
|---|---|---|
| Chrome DevTools Device Mode | Breakpoint checks, viewport size, orientation, touch approximation, and throttling | Device keyboard, browser chrome, and performance under actual hardware constraints |
| Playwright device settings | Repeated checks for layout and a small set of mobile interactions | Site behavior on the installed mobile browser and operating system |
| A real Android or iOS device | Keyboard overlap, native app handoff, OS permissions, and release sign-off | Test reproducibility and device coverage when only one model was available |
Chrome documents Device Mode as an approximation of the mobile experience. What an emulated profile changes depends on its settings. Decide whether the defect is about layout width, input modality, engine behavior, or the OS before selecting a preset. Chrome Device Mode documentation
A mobile page normally needs an appropriate viewport meta tag to lay out content at the intended CSS width. If the UI looks like a scaled-down desktop page, inspect the page's <meta name="viewport"> value before blaming a media query. Check the rendered widths of the main layout container and the element that overflows. MDN mobile viewport reference
Touch emulation helps you exercise tap handling and see whether an interface relies on hover for a key action. Device pixel ratio (DPR) concerns how many device pixels represent a CSS pixel. Use it to check image sharpness or pixel alignment, while keeping CSS viewport width fixed. Rotate to landscape and check dialogs, sticky navigation, and other elements competing for vertical space.
Treat CPU and network throttling as repeatable development conditions. A locally throttled desktop can reveal a slow handler or a late placeholder, but it cannot establish the load time a customer gets from a specific phone and carrier.
Playwright's device descriptors can set the viewport, screen size, user agent, and touch support. Record the chosen descriptor and engine in the test so others know what ran. An iPhone-shaped viewport in Chromium can find layout problems. Use the appropriate engine and verify on actual iOS Safari if the issue concerns that environment. Playwright emulation documentation
Use one task and name the observable outcome. For a product details page, a shopper should be able to select a variant and see an enabled purchase control without horizontal scrolling. Record the viewport and orientation at each observation. Add a second check on the opposite side of the failing breakpoint. If a test only checks a screenshot, an unclickable control might go unnoticed.
| Test case | Pass condition | What to record |
|---|---|---|
| Narrow portrait layout | Product price, variant label, and purchase control remain reachable | Viewport width, scroll position, selector, screenshot |
| Touch interaction | A tap opens the variant selector and selecting an item updates availability | Input mode, selected variant, expected UI state |
| Landscape layout | A dialog fits or scrolls and its primary action is reachable | Orientation, viewport height, dialog screenshot |
| On-device keyboard | The focused address field and Continue control remain usable with the keyboard open | Device, OS version, installed browser, and observed layout |
When a failure appears only on Android hardware, use Chrome's remote debugging workflow on an authorized device to inspect the real tab. Compare the device page with the desktop emulation case rather than changing several inputs at once. Chrome Android remote debugging
The Nstbrowser environment settings guide documents mobile operating-system options for Profile configuration. Use Profile creation to record which environment you intend to reproduce, such as Checkout QA — Desk Baseline or Checkout QA — Mobile Comparison. Use a separate desktop control with the same authorized test page and app build. A named environment helps the next tester identify the run. Verify the actual viewport, touch behavior, and rendering in the browser before drawing conclusions about the app.
For team handoff, use Nstbrowser Team Management to assign the relevant Profile groups to approved testers. Record the expected app build, browser settings, tested URL, and the action to reproduce. Keep a real-device check in the plan for OS-specific failures.
Open the page at a narrow responsive width and reproduce one user action. Make a second pass with touch emulation and landscape if the interaction depends on them. Once you can explain the failure, record the test settings and check the fix on a real device before closing any release-blocking issue.
Yes. Desktop Chrome Device Mode lets you set viewport and device-related conditions on a PC. Use a real device when the result depends on the phone's OS, browser build, or hardware.
It can reveal CSS breakpoint issues. Touch events, viewport scaling, pixel ratio, orientation, and user-agent-dependent behavior may require additional settings.
A device preset changes emulated characteristics within the browser you're using. It does not install or run the iOS Safari application. Verify Safari-specific behavior with the relevant engine and a real device when it matters.
It can help investigate viewport changes and layout. Reproduce the actual keyboard and scroll behavior on a phone before treating the bug as fixed.