mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-16 06:46:48 +00:00
* remove Validate-* scripts * Remove references to validation scripts from .json files * Separate "It"s by new lines * Remove new line before the first "It" * Separate "It"s by new lines * remove 32-bit WinAppDriver check * remove explicit variable definition Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
15 lines
638 B
PowerShell
15 lines
638 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
|
|
|
|
Invoke-PesterTests -TestFile "WinAppDriver"
|