Skip to content

Commit

Permalink
Fix docs for gecko, swap chrome and ie drivers (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
miketimofeev authored Mar 8, 2020
1 parent 42417eb commit 6b03ec0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions images/win/scripts/Installers/Install-Firefox.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ $DriversZipFile = $geckodriverWindowsAsset.name
Write-Host "Selenium drivers download and install..."

$FirefoxDriverPath = Join-Path $SeleniumWebDriverPath "GeckoDriver"

if (-not (Test-Path -Path $FirefoxDriverPath)) {
New-Item -Path $FirefoxDriverPath -ItemType "directory"
}

$geckodriverVersion.Substring(1) | Out-File -FilePath "$FirefoxDriverPath\versioninfo.txt" -Force;

# Install Firefox Web Driver
Expand Down
4 changes: 2 additions & 2 deletions images/win/scripts/Installers/Validate-SeleniumWebDrivers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ if (
(Get-Item "$EdgeDriverPath\msedgedriver.exe").VersionInfo

$versionFileName = "versioninfo.txt";
$chromedriverversion = Get-Content -Path "$IEDriverPath\$versionFileName"
$chromedriverversion = Get-Content -Path "$ChromeDriverPath\$versionFileName"
$geckodriverversion = Get-Content -Path "$GeckoDriverPath\$versionFileName"
$iedriverversion = Get-Content -Path "$ChromeDriverPath\$versionFileName"
$iedriverversion = Get-Content -Path "$IEDriverPath\$versionFileName"
$edgedriverversion = Get-Content -Path "$EdgeDriverPath\$versionFileName"

# Adding description of the software to Markdown
Expand Down

0 comments on commit 6b03ec0

Please sign in to comment.