[rust] Save discovered browser version (network request) in local metadata#12443
[rust] Save discovered browser version (network request) in local metadata#12443bonigarcia merged 3 commits intotrunkfrom
Conversation
0a46d74 to
5abce2c
Compare
Codecov ReportPatch coverage:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## trunk #12443 +/- ##
==========================================
+ Coverage 57.37% 57.39% +0.01%
==========================================
Files 86 86
Lines 5366 5368 +2
Branches 206 206
==========================================
+ Hits 3079 3081 +2
Misses 2081 2081
Partials 206 206
☔ View full report in Codecov by Sentry. |
|
I have just sent a second commit to this PR to distinguish between the Not specifying browser version (first time) Not specifying browser version (second time, and so, the browser version is already stored in the local metadata, valid for 1 hour) Using stable for browser version (first time) Using stable for browser version (second time, and so, the browser version is already stored in the local metadata, valid for 1 hour) |
Description
This PR allows to save discovered browser version (using a network request to the CfT endpoints) in the local metadata (i.e.,
~/.cache/selenium/selenium-manager.json) using the value ofTTL_browsers(i.e., 1 hour).Motivation and Context
This PR probably will make CI Java green again. But the problems detected in the Java tests (invalid proxy and creation of multiple
WebDriverobjects) are still there.Types of changes
Checklist