move selenium version output to the browsers sector (#4377)

This commit is contained in:
Dibir Magomedsaygitov
2021-10-29 17:26:06 +03:00
committed by GitHub
parent d502c64087
commit 3ab5292583
3 changed files with 12 additions and 8 deletions
@@ -274,10 +274,4 @@ function Get-SwigVersion {
(swig -version | Out-String) -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
$swigVersion = $Matches.Version
return "Swig $swigVersion"
}
function Get-SeleniumVersion {
$seleniumBinaryName = (Get-ToolsetContent).selenium.binary_name
$fullSeleniumVersion = (Get-ChildItem "C:\selenium\${seleniumBinaryName}-*").Name -replace "${seleniumBinaryName}-"
return "Selenium server $fullSeleniumVersion"
}