You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command config doesn't work. It's not passed to the Android server impl.
In the packages/playwright-core/src/protocol/validator.ts, seems the command option is not a valid parameter for AndroidDeviceLaunchBrowserParams.
Also, I found that in the packages/playwright-core/src/server/dispatchers/androidDispatcher.ts, it's using the params.pkg rather command to get the Android pkg name to run.
Expected behavior
I'm not sure if it's an expected behavior.
Actual behavior
It's always starting the chrome browser.
Additional context
No response
Environment
(Not related)
The text was updated successfully, but these errors were encountered:
Version
main (source code)
Steps to reproduce
https://playwright.dev/docs/api/class-androiddevice#android-device-launch-browser-option-command
Based on my understanding, It's means we could override the internal pkg name by using this option.
However, based on my experiments:
The command config doesn't work. It's not passed to the Android server impl.
In the
packages/playwright-core/src/protocol/validator.ts
, seems thecommand
option is not a valid parameter forAndroidDeviceLaunchBrowserParams
.Also, I found that in the
packages/playwright-core/src/server/dispatchers/androidDispatcher.ts
, it's using theparams.pkg
rathercommand
to get the Android pkg name to run.Expected behavior
I'm not sure if it's an expected behavior.
Actual behavior
It's always starting the chrome browser.
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: