如何在隐身标签页中打开Chrome [英] How to open chrome in incognito tab

查看:244
本文介绍了如何在隐身标签页中打开Chrome的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个方案,在Chrome浏览器的隐身标签中打开一个Web链接。我正在使用adb命令打开chrome并导航到特定的URL,即 adb shell am start -n com.android.chrome/com.google.android.apps.chrome.Main -d weburl

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 .

有没有办法通过adb以隐身模式直接打开链接?

Is there any way to open link directly in incognito mode through adb?

推荐答案

使用 adb 命令找不到任何方法。但是,如果使用 ChromeOptions ,则可以添加 -incognito 自变量。

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

这篇关于如何在隐身标签页中打开Chrome的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆