docs: fix android launchBrowser.pkg option (#34262)

This commit is contained in:
Simon Knott 2025-01-10 10:51:29 +01:00 committed by GitHub
parent 13bdd3c92f
commit 75d2661497
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -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.

View file

@ -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<string>;
/**
* Optional package name to launch instead of default Chrome for Android.
*/
pkg?: string;
/**
* Network proxy settings.
*/