[rust] Fallback for chromedriver versions in Selenium Manager (#11383)#11454
[rust] Fallback for chromedriver versions in Selenium Manager (#11383)#11454titusfortner merged 1 commit intotrunkfrom
Conversation
|
Hmm, I think there should just be one or two fallbacks instead of 5? The specific problem at hand is that it looks like Chrome only releases drivers for production and beta, and not for dev and canary, so we should use the beta version of the driver for dev, and theoretically we figure out how to get the most recent nightly build of the driver for Canary. Microsoft makes everything much easier for Edge, and this isn't an issue for Firefox or Safari. |
|
@titusfortner Having a retries count of 5 for this logic is not too much, IMO. All in all, the minimum retries number should be three. And having a guard of two more tries, just in case, does not hurt, IMO. |
6863c28 to
49dd697
Compare
49dd697 to
926c92b
Compare
Description
This PR implements a fallback mechanism (max 5 retries) when reading the versions of chromedriver. For instance:
Motivation and Context
This PR solves #11383.
Types of changes
Checklist