Files
runner-images/images/windows/scripts/build/Install-WinAppDriver.ps1
T

17 lines
688 B
PowerShell
Raw Normal View History

####################################################################################
## File: Install-WinAppDriver.ps1
## Desc: Install Windows Application Driver (WinAppDriver)
####################################################################################
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
2023-12-04 10:50:53 +01:00
$downloadUrl = Resolve-GithubReleaseAssetUrl `
-Repo "microsoft/WinAppDriver" `
-Version "latest" `
-UrlMatchPattern "WindowsApplicationDriver_*.msi"
Install-Binary `
2023-12-04 10:50:53 +01:00
-Url $downloadUrl `
-ExpectedSignature '2485A7AFA98E178CB8F30C9838346B514AEA4769'
2020-07-30 12:12:49 +05:00
Invoke-PesterTests -TestFile "WinAppDriver" -TestName "WinAppDriver"