Error when opening Chrome on Android 13 via adb

Recently I’ve started adapting our test framework for new Android release, and encountered an unexpected error when opening Chrome on Android 13 via adb. Since solving this issue required some investigation and a knowledge of Android development, I’ve decided to write a blog post about it.

TL;DR: Use the correct command below to launch Chrome:

adb shell am start -a android.intent.action.VIEW -d -n --es "" "some_package"

And to launch Samsung browser:

b shell am start -a android.intent.action.VIEW -d -n --es "" "some_package"

Those, who want to know all the nitty gritty details, please keep reading.

Continue reading