Add Chrome + Chromedriver test (#6330)

This commit is contained in:
Mikhail Timofeev
2022-09-30 07:48:15 +03:00
committed by GitHub
parent 2ebc6b71c9
commit f535d0e8dd

View File

@@ -16,6 +16,12 @@ Describe "Chrome" {
It "Chrome Driver" {
"chromedriver --version" | Should -ReturnZeroExitCode
}
It "Chrome and Chrome Driver major versions are the same" {
$chromeMajor = (google-chrome --version).Trim("Google Chrome ").Split(".")[0]
$chromeDriverMajor = (chromedriver --version).Trim("ChromeDriver ").Split(".")[0]
$chromeMajor | Should -BeExactly $chromeDriverMajor
}
}
Describe "Edge" {