Skip to content
This repository was archived by the owner on Jan 17, 2021. It is now read-only.

Commit 3f4919f

Browse files
committed
Add incognito flag to chrome options
1 parent 96f80d2 commit 3f4919f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func openBrowser(url string) {
163163
}
164164

165165
func chromeOptions(url string) []string {
166-
return []string{"--app=" + url, "--disable-extensions", "--disable-plugins"}
166+
return []string{"--app=" + url, "--disable-extensions", "--disable-plugins", "--incognito"}
167167
}
168168

169169
// Checks if a command exists locally.

0 commit comments

Comments
 (0)