Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jayrodksmith authored Mar 20, 2024
1 parent d598a47 commit ecdd50b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Private/Helpers/Get-WebDriver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ function Get-WebDriver {
}
# Expand archive and replace the old file
Expand-Archive "$webDriversPath\chromeNewDriver.zip" -DestinationPath "$webDriversPath\tempchrome" -Force
Remove-Item "$($webDriversPath)\chromedriver.exe" -Force | Out-Null
Move-Item "$webDriversPath\tempchrome\chromedriver-win64\chromedriver.exe" -Destination "$($webDriversPath)\chromedriver.exe" -Force

# clean-up
Expand Down Expand Up @@ -147,6 +148,7 @@ function Get-WebDriver {

# epand archive and replace the old file
Expand-Archive "$webDriversPath\edgeNewDriver.zip" -DestinationPath "$webDriversPath\tempedge" -Force
Remove-Item "$($webDriversPath)\msedgedriver.exe" -Force | Out-Null
Move-Item "$webDriversPath\tempedge\msedgedriver.exe" -Destination "$($webDriversPath)\msedgedriver.exe" -Force

# clean-up
Expand Down

0 comments on commit ecdd50b

Please sign in to comment.