Merge pull request #1997 from miketimofeev/update-winapp-driver-to-1.2.1

[windows] Update winapp driver to 1.2.1
This commit is contained in:
Maxim Lobanov
2020-11-06 11:43:25 +03:00
committed by GitHub

View File

@@ -3,8 +3,9 @@
## Desc: Install Windows Application Driver (WinAppDriver)
####################################################################################
$LatestReleaseUrl = 'https://api.github.com/repos/microsoft/WinAppDriver/releases/latest'
$InstallerUrl = (Invoke-RestMethod -Uri $LatestReleaseUrl).assets.browser_download_url
$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