mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-19 08:21:44 +00:00
[Windows] Rework Selenium installation (#4309)
This commit is contained in:
committed by
GitHub
parent
7d905024ff
commit
1b3870ab40
@@ -275,3 +275,9 @@ function Get-SwigVersion {
|
||||
$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"
|
||||
}
|
||||
Reference in New Issue
Block a user