Skip to content

Commit

Permalink
Change chrome not installed errs
Browse files Browse the repository at this point in the history
  • Loading branch information
inancgumus committed Jan 8, 2024
1 parent 6487fd3 commit a224e27
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions chromium/browser_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,14 @@ func (b *BrowserType) allocate(

var (
// ErrChromeNotInstalled is returned when the Chrome executable is not found.
ErrChromeNotInstalled = errors.New("neither chrome nor chromium is installed on this system")
ErrChromeNotInstalled = errors.New(
"k6 couldn't detect google chrome or a chromium-supported browser on this system",
)

// ErrChromeNotFoundAtPath is returned when the Chrome executable is not found at the given path.
ErrChromeNotFoundAtPath = errors.New("neither chrome nor chromium found on the path")
ErrChromeNotFoundAtPath = errors.New(
"k6 couldn't detect google chrome or a chromium-supported browser on the given path",
)
)

// executablePath returns the path where the extension expects to find the browser executable.
Expand Down

0 comments on commit a224e27

Please sign in to comment.