DocumentationMobile TestingAndroid device setup

Android device setup

8 min readLast updated 2026-04-26Beta

Configure Android testing with Chromium and Chrome automation on emulators and real devices.

Android testing supports Chromium via Playwright and native apps via Appium. Emulators work on any OS; real devices need USB debugging or a cloud farm.

Playwright Chromium (emulator)

{
  name: 'Android Chrome',
  use: {
    browserName: 'chromium',
    viewport: { width: 412, height: 915 },
    userAgent: '...Android...',
  },
}
typescript

Appium setup

{
  platformName: 'Android',
  platformVersion: '14',
  deviceName: 'Pixel 8',
  automationName: 'UiAutomator2',
}
javascript

Emulator speed

Enable hardware acceleration (HAXM or KVM) for emulator tests. Without it, tests run 5-10x slower.

Was this article helpful?

Still have questions?

Our support team is here to help. Reach out directly or search the docs.