How to open chrome in incognito tab

2019-07-03 03:54发布

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?

2条回答
萌系小妹纸
2楼-- · 2019-07-03 04:10

I could not find any way using adb commands. But using ChromeOptions it is possible if we add "--incognito" argument.

查看更多
Luminary・发光体
3楼-- · 2019-07-03 04:23

You can launch chrome in incognito mode with the -incognito flag. I am not sure if this will work through ADB, however.

查看更多
登录 后发表回答