Docs

Playwright mobile emulation checklist

A coherent preset should align device class, viewport, DPR, touch, locale, timezone, geolocation, and the network used for the test.

Which Playwright fields must line up?

  • User agent and browser engine should describe the same platform.
  • Viewport, screen, and device scale factor should match the selected device class.
  • Mobile profiles should expose touch support and coarse pointer behavior.
  • Locale, timezone, and geolocation should match the intended region.
  • Provider-backed network flags should be treated as advisory QA signals.

How should locale, timezone, and proxy settings line up?

A regional mobile preset should keep `locale`, `timezoneId`, geolocation, and the network exit in the same target region. If those fields describe different countries, the test is no longer a stable regional fixture.

How should this run in CI?

Keep presets in source control and run the CLI from your own runner so browser sessions remain under your operational control.

What should not be automated?

Do not use presets to access systems you are not authorized to test. Cloak Browser validates consistency; it does not operate a browser service, proxy service, or bypass workflow.