Fix docs for gecko, swap chrome and ie drivers (#519)

This commit is contained in:
Mikhail Timofeev
2020-03-08 14:43:37 +00:00
committed by GitHub
parent 42417eb98f
commit 6b03ec0d58
2 changed files with 7 additions and 2 deletions

View File

@@ -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