(fullVersion:string)
| 284 | } |
| 285 | |
| 286 | export function getMajorVersionFromString(fullVersion:string) { |
| 287 | let prefix |
| 288 | if (fullVersion) { |
| 289 | prefix = fullVersion.match(/^[+-]?([0-9]+)/) |
| 290 | } |
| 291 | return prefix && prefix.length > 0 ? prefix[0] : '' |
| 292 | } |
| 293 | |
| 294 | export async function setupChromedriver (cacheDir: string, driverVersion?: string) { |
| 295 | const platform = detectBrowserPlatform() |
no outgoing calls
no test coverage detected
searching dependent graphs…