如何在IntelliJ中将浏览器设置为在私有窗口/隐身模式下打开

Dha*_*a N 2 intellij-idea

在IntelliJ中,可以为Web应用程序配置目标浏览器。有谁知道如何配置为在专用窗口(Firefox和Chrome)中打开浏览器?

Wil*_*eys 5

对于Chrome,您只需打开“偏好设置”中的“ Web浏览器”部分,然后编辑Chrome选项。将命令行选项设置为-incognito,Chrome应该以隐身模式启动。 IntelliJ Web浏览器

对于Firefox,我希望您需要以私有模式启动它。此URL在我的Mac上启动Firefox,但无法在IntelliJ中运行

/Applications/Firefox.app/Contents/MacOS/firefox -private
Run Code Online (Sandbox Code Playgroud)