[💡 Feature]: <Set browserVersion to browser version installed -1>
#12,031 opened on 2024年1月16日
説明
Is your feature request related to a problem?
Sometimes I am seeing issue with the browserVersion='stable'. I faced this issue twice with v8. So in safer side looking for feature to detect the browser version & set the browserVersion=installed-1
Describe the solution you'd like.
like how browserVersion='stable' used to work, looking for browserVersion=installed-1. This can be done by fetching the latest version installed in the system (my guess already doing when setting stable) then setting it to last previous version. --> not sure on name might be hotly/lately...
Example: If current version of chrome installed in system is 120.x.x.xx then get 119 version
Describe alternatives you've considered.
To resolve the issue what I am doing at project level is --> getting the chrome version by 3rd party package "npm i @testim/chrome-version" then subtracting the output of this with -1. Example: If the output is 120.x.x then setting the browserVersion as ==> Number.parseInt(outputVersion) -1
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct