Install components for browser automation
This commit is contained in:
parent
6c193590b1
commit
6f93edea54
|
@ -11,6 +11,7 @@ $null = New-Module {
|
||||||
. "$PSScriptRoot/../Scripts/Hooks.ps1";
|
. "$PSScriptRoot/../Scripts/Hooks.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/Operations.ps1";
|
. "$PSScriptRoot/../Scripts/Operations.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/PowerManagement.ps1";
|
. "$PSScriptRoot/../Scripts/PowerManagement.ps1";
|
||||||
|
. "$PSScriptRoot/../Scripts/Software.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../Scripts/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/Update.ps1";
|
. "$PSScriptRoot/../Scripts/Update.ps1";
|
||||||
. "$PSScriptRoot/../Types/InstallerAction.ps1";
|
. "$PSScriptRoot/../Types/InstallerAction.ps1";
|
||||||
|
@ -70,6 +71,15 @@ $null = New-Module {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (-not (Test-PSPackage Selenium.WebDriver)) {
|
||||||
|
Install-Module -AcceptLicense -Force NuGet;
|
||||||
|
Import-Module NuGet;
|
||||||
|
$null = Install-Package -Force Selenium.WebDriver -RequiredVersion 4.10.0 -SkipDependencies;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
Install-ChocoPackage firefox;
|
||||||
|
|
||||||
if (-not (& { wsl --status; $?; })) {
|
if (-not (& { wsl --status; $?; })) {
|
||||||
wsl --install --no-launch;
|
wsl --install --no-launch;
|
||||||
Restart-Intermediate;
|
Restart-Intermediate;
|
||||||
|
|
Loading…
Reference in a new issue