mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Fixes #351
This commit is contained in:
@@ -17,7 +17,7 @@ catch {
|
||||
Expand-Archive -Path $DriversZipFile -DestinationPath $DestinationPath -Force;
|
||||
Remove-Item $DriversZipFile;
|
||||
|
||||
$ChromeDriverPath = "$DestinationPath\SeleniumWebDrivers\ChromeDriver";
|
||||
$ChromeDriverPath = "${DestinationPath}SeleniumWebDrivers\ChromeDriver";
|
||||
Write-Host "Chrome driver path: [$ChromeDriverPath]";
|
||||
Remove-Item -Path "$ChromeDriverPath\*" -Force;
|
||||
|
||||
@@ -48,7 +48,7 @@ Remove-Item -Path "$ChromeDriverPath\chromedriver_win32.zip" -Force;
|
||||
|
||||
# Install Microsoft Edge Web Driver
|
||||
Write-Host "Microsoft Edge driver download...."
|
||||
$EdgeDriverPath = "$DestinationPath\SeleniumWebDrivers\EdgeDriver"
|
||||
$EdgeDriverPath = "${DestinationPath}SeleniumWebDrivers\EdgeDriver"
|
||||
if (-not (Test-Path -Path $EdgeDriverPath)) {
|
||||
New-Item -Path $EdgeDriverPath -ItemType "directory"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user