getExecutableRelativePath static method
Implementation
static String getExecutableRelativePath(BrowserPlatform platform) {
return switch (platform) {
BrowserPlatform.macArm64 || BrowserPlatform.macX64 => p.join(
'chrome-${platform.folder}',
'Google Chrome for Testing.app',
'Contents',
'MacOS',
'Google Chrome for Testing',
),
BrowserPlatform.linux64 => p.join('chrome-${platform.folder}', 'chrome'),
BrowserPlatform.windows32 || BrowserPlatform.windows64 => p.join(
'chrome-${platform.folder}',
'chrome.exe',
),
};
}