Skip to content

Commit 75d2661

Browse files
authored
docs: fix android launchBrowser.pkg option (#34262)
1 parent 13bdd3c commit 75d2661

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/src/api/class-androiddevice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Launches Chrome browser on the device, and returns its persistent context.
136136

137137
### option: AndroidDevice.launchBrowser.pkg
138138
* since: v1.9
139-
- `command` <[string]>
139+
- `pkg` <[string]>
140140

141141
Optional package name to launch instead of default Chrome for Android.
142142

packages/playwright-core/types/types.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16607,11 +16607,6 @@ export interface AndroidDevice {
1660716607
*/
1660816608
colorScheme?: null|"light"|"dark"|"no-preference";
1660916609

16610-
/**
16611-
* Optional package name to launch instead of default Chrome for Android.
16612-
*/
16613-
command?: string;
16614-
1661516610
/**
1661616611
* Specify device scale factor (can be thought of as dpr). Defaults to `1`. Learn more about
1661716612
* [emulating devices with device scale factor](https://playwright.dev/docs/emulation#devices).
@@ -16720,6 +16715,11 @@ export interface AndroidDevice {
1672016715
*/
1672116716
permissions?: Array<string>;
1672216717

16718+
/**
16719+
* Optional package name to launch instead of default Chrome for Android.
16720+
*/
16721+
pkg?: string;
16722+
1672316723
/**
1672416724
* Network proxy settings.
1672516725
*/

0 commit comments

Comments
 (0)