[Ubuntu] Add Microsoft Edge (#5874)

trailing whitespace
This commit is contained in:
Mikhail Koliada
2022-07-08 07:49:17 +02:00
committed by GitHub
parent b87bdfb146
commit e91961e2f2
7 changed files with 41 additions and 1 deletions

View File

@@ -23,6 +23,12 @@ function Get-ChromiumVersion {
return $chromiumVersion
}
function Get-EdgeVersion {
$edgeVersion = (microsoft-edge --version).trim()
$aptSourceRepo = Get-AptSourceRepository -PackageName "microsoft-edge"
return "$edgeVersion (apt source repository: $aptSourceRepo)"
}
function Get-SeleniumVersion {
$seleniumBinaryName = Get-ToolsetValue "selenium.binary_name"
$fullSeleniumVersion = (Get-ChildItem "/usr/share/java/${seleniumBinaryName}-*").Name -replace "${seleniumBinaryName}-"