Files
runner-images/images/win/scripts/Installers/Install-WinAppDriver.ps1
Maksim Petrov 8e8fbb4f76 Improve Windows helpers functions stability (#723)
* Rework windows InstallHelpers; Add retry logic to install function
2020-04-21 11:58:27 +03:00

13 lines
593 B
PowerShell

####################################################################################
## File: Install-WinAppDriver.ps1
## Desc: Install Windows Application Driver (WinAppDriver)
####################################################################################
Import-Module -Name ImageHelpers -Force
$InstallerName = "WindowsApplicationDriver.msi"
$InstallerUrl = "https://github.com/Microsoft/WinAppDriver/releases/download/v1.1/${InstallerName}"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Install-Binary -Url $InstallerUrl -Name $InstallerName