Skip to content

Commit

Permalink
Use last good versions CfT endpoint only when driver version is unkno…
Browse files Browse the repository at this point in the history
…wn (fix #1076)
  • Loading branch information
bonigarcia committed Jul 19, 2023
1 parent 3522614 commit 11c34cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public Optional<String> getDriverVersionFromRepository(

return Optional.of(fileteredList
.get(fileteredList.size() - 1).version);
} else {
} else if (!driverVersion.isPresent()) {
// Parse JSON using LastGoodVersions
cftUrl = config.getChromeLastGoodVersionsUrl();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ChromeVersionTest extends VersionTestParent {
@BeforeEach
void setup() {
driverClass = ChromeDriver.class;
specificVersions = new String[] { "115.0.5790.24", "116.0.5817.0" };
specificVersions = new String[] { "114.0.5735.90", "115.0.5790.24", "116.0.5817.0" };
}

}

0 comments on commit 11c34cf

Please sign in to comment.