diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index ccf876c0..d3f429c7 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -11,6 +11,17 @@ function Invoke-WindowsInstallation([Context] $context) . "$PSScriptRoot/../Scripts/Prerequisites.ps1"; Update-WindowsInstallation $context; + if (-not $context.Get("SoftwarePrerequisitesInstalled")) { + Write-Host "Installing prerequisites for installing software"; + + Install-Module -AcceptLicense -Force "$module"; + Import-Module NuGet; + + choco install -y selenium-gecko-driver; + Install-Package -Force Selenium.WebDriver -SkipDependencies; + + $context.Set("SoftwarePrerequisitesInstalled", 1); + } if (-not $context.Get("DriversInstalled")) { Write-Host "Installing Drivers";