Skip to content
AnswerWell geo Documentation

Research · 8 min read · Answerwell

DevTools Device Emulation, Sensor Simulation, and Network CPU Throttling

How Chrome DevTools Device Mode, Sensors, Network, and Performance panels emulate mobile viewports, sensors, and slow connections for realistic testing.

This page summarises Chrome DevTools documentation on device mode and related panels: simulating mobile viewports, throttling network and CPU, overriding geolocation and orientation, and testing accessibility media features. Emulation is a fast first pass on a laptop or desktop; it does not replace testing on physical hardware or non-Chromium browsers.

Device mode: simulate a mobile viewport and throttling presets

Section titled “Device mode: simulate a mobile viewport and throttling presets”

Device mode is the collective name for DevTools features that help you simulate mobile devices, including viewport sizing, CPU throttling, and network throttling.

Think of device mode as a first-order approximation of how your page looks and feels on a mobile device. With device mode you don’t actually run your code on a mobile device. You simulate the mobile user experience from your laptop or desktop.

— Chrome, Simulate mobile devices with device mode

  1. Open DevTools on your page.

  2. Click Toggle device toolbar in the action bar at the top.

  3. Use the Dimensions drop-down to pick a preset device, Responsive, or width presets (Mobile S through 4K).

In Responsive mode, drag the viewport handles or enter width and height. For WCAG reflow testing, resize dynamically and confirm content stays usable without horizontal scrolling or lost information; see the WCAG reflow success criterion for target dimensions.

The Web Content Accessibility Guidelines (WCAG) reflow criterion recommends that web content remain viewable without loss of information even when the viewport is resized or changes orientation.

— Chrome, Accessibility features reference

Device type, pixel ratio, and foldable layouts

Section titled “Device type, pixel ratio, and foldable layouts”
Option Rendering Cursor Events
Mobile Mobile viewport Circle touch
Mobile (no touch) Mobile viewport Normal click
Desktop Desktop viewport Normal click
Desktop (touch) Desktop viewport Circle touch

Set device pixel ratio via More options → Add device pixel ratio. For foldables, use Toggle dual-screen mode or set device posture to Continuous or Folded. Add or enable devices under Settings > Devices.

Mid-tier and low-end mobile throttle presets

Section titled “Mid-tier and low-end mobile throttle presets”

From the device toolbar Throttle list:

Preset Effect (relative to your machine)
Mid-tier mobile Fast 3G network + CPU 4× slowdown
Low-end mobile Slow 3G network + CPU 6× slowdown

Keep in mind that the throttling is relative to the normal capability of your laptop or desktop.

— Chrome, Simulate mobile devices with device mode

Network panel: slow connection, offline, and first-time load

Section titled “Network panel: slow connection, offline, and first-time load”

The Network panel lets you change loading behaviour: disable cache, emulate offline, throttle speed, override response headers, and override the user agent.

Simulate 3G and empty cache for first visit

Section titled “Simulate 3G and empty cache for first visit”
  1. Open the Network panel.

  2. Set Throttling to 3G (or Fast 3G / Slow 3G from presets).

  3. Long-press Reload and choose Empty Cache And Hard Reload.

On repeat visits, the browser usually serves some files from its cache, which speeds up the page load. Empty Cache And Hard Reload forces the browser to go to the network for all resources.

— Chrome, Inspect network activity

Enable Disable cache in the Network settings bar—or in the Network conditions drawer—to emulate a first-time user without using the long-press reload workflow. Select Offline from the throttling menu to test Progressive Web Apps and service workers. A warning icon appears on the Network tab when throttling or offline mode is active.

Network conditions drawer: user agent and throttling elsewhere

Section titled “Network conditions drawer: user agent and throttling elsewhere”

Open Network conditions from the Network panel (More network conditions), the Command Menu (Network conditions), or More tools → Network conditions. There you can override the user agent, edit User-Agent Client Hints, throttle network speed, and toggle Disable cache while working in other panels. See Override the user agent string and the Network features reference.

Note that overriding the user agent string does not change how Chrome browser functions internally, it changes content that Chrome is served.

— Chrome, Network conditions: Override the user agent string

In Settings > Throttling, add Network throttling profiles with download/upload speeds, latency, and optional packet loss, queue length, and reordering—useful for WebRTC without third-party tools. DevTools throttles WebSocket connections as well as HTTP (since version 99); compare message timing in the Messages tab with and without a very slow profile.

Performance panel: CPU throttle while profiling

Section titled “Performance panel: CPU throttle while profiling”

When profiling runtime performance, match mobile CPU constraints:

Mobile devices have much less CPU power than desktops and laptops. Whenever you profile a page, use CPU Throttling to simulate how your page performs on mobile devices.

— Chrome, Analyze runtime performance

  1. Open the Performance panel.

  2. Open Capture settings.

  3. Set CPU to 4× slowdown (common demo setting); use 20× slowdown for low-end devices when the page tolerates it.

  4. Enable Screenshots if you need visual progress during load.

Throttling is relative to your computer’s capabilities. DevTools can’t truly simulate the CPUs of mobile devices, because the architecture of mobile devices is very different from that of desktops and laptops.

— Chrome, Performance features reference

Use Settings > Throttling > CPU throttling presets → Calibrate to derive presets that approximate low- and mid-tier phones on your hardware. Those calibrated rates appear under Performance Capture settings and environment CPU lists. Network throttling during recording uses the same Capture settings menu; presets may be marked recommended when field metrics are enabled.

Lighthouse CLI v3 maps DevTools-style throttling to --throttling-method=devtools (versus provided when you supply your own conditions).

Sensors panel: geolocation, orientation, touch, idle, and pressure

Section titled “Sensors panel: geolocation, orientation, touch, idle, and pressure”

The Sensors panel emulates sensor-related input without a physical device:

  • Override geolocation (presets, custom lat/long, or Location unavailable).
  • Simulate orientation (presets, custom alpha/beta/gamma, or drag the orientation model; Shift + drag adjusts alpha).
  • Force touch so pointer input fires touch events (reload DevTools when prompted).
  • Emulate Idle detector state for the Idle Detection API.
  • Hardware concurrency override for navigator.hardwareConcurrency (reset to revert; values above 12 may hurt performance).
  • CPU pressure states for the Compute Pressure API: Nominal, Fair, Serious, Critical.

Open it via Command Menu → Show Sensors, or More tools → Sensors. Save frequent geolocation presets under Settings > Locations (name, latitude, longitude, timezone ID, locale).

For orientation APIs in pages, DevTools can override virtual orientation data during development; see Sensors for the web (Generic Sensor API requires HTTPS in production; localhost is allowed in development).

Rendering tab: emulate vision and CSS user preferences

Section titled “Rendering tab: emulate vision and CSS user preferences”

Open the Rendering tab to emulate CSS media features and vision settings without changing your code:

  • Vision deficiencies simulation.
  • prefers-color-scheme (light/dark).
  • CSS media type (print vs screen).
  • forced-colors, prefers-contrast, prefers-reduced-motion, prefers-reduced-transparency.

This supports visual accessibility checks alongside viewport reflow tests in device mode. Details are in the Accessibility features reference.

Request conditions: block or slow specific resources

Section titled “Request conditions: block or slow specific resources”

The Request conditions drawer tests behaviour when images, stylesheets, or other URLs are blocked or throttled.

  • Blocked requests show (blocked:devtools) in red in the Network Status column.
  • Throttled requests show a gold/brown icon; hover for the rule, click to open the drawer.
  • In Performance recordings, hover Network track requests for applied conditions.

Rules in the Throttling column are ordered: a later throttling rule can override a blocking rule. Toggle Enable blocking and throttling for all patterns at once.

For automated tests, ChromeDriver’s mobileEmulation capability accepts a deviceName from DevTools Settings > Devices, or explicit deviceMetrics, clientHints, and optionally userAgent. Invalid names error with "<name> must be a valid device." Prefer clientHints over legacy user-agent-only mode. See Mobile emulation.

Chrome DevTools for agents documents emulation for automated flows: viewport, geolocation, network, CPU, and color scheme—always executing in Chrome on your host OS, not other engines.

Emulators vs real devices and other browsers

Section titled “Emulators vs real devices and other browsers”

Browser emulators are great for testing a site’s responsiveness, but they don’t emulate differences in API, CSS support, and certain behaviors that you’d see on a mobile browser. Test your site on browsers running on real devices to be certain everything behaves as expected.

— Chrome, Emulate and Test Other Browsers

Cloud-based or local device farms (for example BrowserStack, Sauce Labs) help when you lack hardware; they can automate flows across platforms. Firefox Responsive Design View and Edge/IE emulation are separate tools for spot checks outside Chromium.

Cloudflare notes that challenge results under device emulation, user-agent overrides, or network tweaks may differ from physical devices—disable overrides when troubleshooting challenges.

  • Leaving throttling, offline, or Disable cache on and misreading “slow in production.”
  • Assuming user-agent override changes engine behaviour—it only changes what servers send.
  • Skipping real-device pass for APIs absent in emulation (orientation on desktop, GPU-bound work).
  • Using only desktop emulation for Android WebView: sensor and capture APIs differ by WebView version.
  1. Open Chrome DevTools, enable device mode, and confirm layout at your target widths and device presets from Devices settings.

  2. Run Empty Cache And Hard Reload with Slow 3G or Fast 3G in the Network panel and review load screenshots if enabled.

  3. Record a Performance trace with 4× (or calibrated) CPU throttling and network throttling from Capture settings.

  4. In the Sensors panel, test geolocation, orientation, and—for PWA offline—Network Offline plus service worker behaviour.

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about.