diff --git a/docs/src/api/class-androiddevice.md b/docs/src/api/class-androiddevice.md index 729b36f92228c..86b003638b99e 100644 --- a/docs/src/api/class-androiddevice.md +++ b/docs/src/api/class-androiddevice.md @@ -136,7 +136,7 @@ Launches Chrome browser on the device, and returns its persistent context. ### option: AndroidDevice.launchBrowser.pkg * since: v1.9 -- `command` <[string]> +- `pkg` <[string]> Optional package name to launch instead of default Chrome for Android. diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts index 2605af04c4a61..21b531b07acb6 100644 --- a/packages/playwright-core/types/types.d.ts +++ b/packages/playwright-core/types/types.d.ts @@ -16607,11 +16607,6 @@ export interface AndroidDevice { */ colorScheme?: null|"light"|"dark"|"no-preference"; - /** - * Optional package name to launch instead of default Chrome for Android. - */ - command?: string; - /** * Specify device scale factor (can be thought of as dpr). Defaults to `1`. Learn more about * [emulating devices with device scale factor](https://playwright.dev/docs/emulation#devices). @@ -16720,6 +16715,11 @@ export interface AndroidDevice { */ permissions?: Array; + /** + * Optional package name to launch instead of default Chrome for Android. + */ + pkg?: string; + /** * Network proxy settings. */