docs: fix android launchBrowser.pkg option

This commit is contained in:
Simon Knott 2025-01-09 12:06:19 +01:00
parent 9b58e4a93a
commit 9b595ccf9e
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC
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.
*/