Document environment variables of linux images (#2498)

* Document environment variables of linux images

* Change adnroid variables

* Apply reviews

* Remove some variables, fix headers

* Show link targets

* rename helper

* remove symlinks

* More links

* Dynamic GO variables

* Architecture for  GO variables

* remove GOROOT
This commit is contained in:
Sergey Dolin
2021-02-12 12:30:36 +05:00
committed by GitHub
parent d49a011d9c
commit 77b21e0c24
6 changed files with 169 additions and 4 deletions

View File

@@ -21,4 +21,22 @@ function Get-GeckodriverVersion {
function Get-ChromiumVersion {
$chromiumVersion = chromium --version | Take-OutputPart -Part 0,1
return $chromiumVersion
}
}
function Build-BrowserWebdriversEnvironmentTable {
return @(
@{
"Name" = "CHROMEWEBDRIVER"
"Value" = $env:CHROMEWEBDRIVER
},
@{
"Name" = "GECKOWEBDRIVER"
"Value" = $env:GECKOWEBDRIVER
}
) | ForEach-Object {
[PSCustomObject] @{
"Name" = $_.Name
"Value" = $_.Value
}
}
}