Skip to main content

find_chrome_executable

Function find_chrome_executable 

Source
pub fn find_chrome_executable(channel: Channel) -> Result<PathBuf, ChromeError>
Expand description

Find a Chrome executable for the given release channel.

Checks the CHROME_PATH environment variable first, then falls back to platform-specific well-known paths.

ยงErrors

Returns ChromeError::NotFound if no Chrome executable can be located.