I am trying to open a URL in Google Chrome using adb command line. Have set "--no-first-run" using following command -
adb shell 'echo "chrome --no-first-run" > /data/local/tmp/chrome-command-line'
Have taken the command line switch from the following website - http://peter.sh/experiments/chromium-command-line-switches/
Then I execute the following commands,
adb -s TA99300UFC shell am set-debug-app com.android.chrome
adb -s TA99300UFC shell am start -n com.android.chrome/com.google.android.apps.chrome.Main -d 'http://wikipedia.org'
Still the "Welcome Page" shows up.
How can I skip this and go directly to the website URL passed in command?
adb shell 'echo "chrome --disable-fre --no-default-browser-check --no-first-run" > /data/local/tmp/chrome-command-line'
this command disables the welcome screen for chrome
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With