I have a scenario open a web link in incognito tab in chrome browser. I am using adb command to open chrome and navigate to specific URL i.e adb shell am start -n com.android.chrome/com.google.android.apps.chrome.Main -d weburl
.
Is there any way to open link directly in incognito mode through adb?
I could not find any way using
adb
commands. But usingChromeOptions
it is possible if we add "--incognito
" argument.You can launch chrome in incognito mode with the
-incognito
flag. I am not sure if this will work through ADB, however.