chromedp/runner/path_unix.go

20 lines
438 B
Go
Raw Normal View History

2017-01-24 15:09:23 +00:00
// +build linux freebsd netbsd openbsd
package runner
const (
// DefaultChromePath is the default path to use for Chrome if the
// executable is not in $PATH.
2017-01-24 15:09:23 +00:00
DefaultChromePath = "/usr/bin/google-chrome"
)
// DefaultChromeNames are the default Chrome executable names to look for in
// $PATH.
var DefaultChromeNames = []string{
2017-01-24 15:09:23 +00:00
"google-chrome",
"chromium-browser",
"chromium",
2017-01-24 15:09:23 +00:00
"google-chrome-beta",
"google-chrome-unstable",
}