Hi,
I think you can use webdrivermanager.
A post here contains the links:
I see it has not been updated for a while, but it’s maybe not an issue and still works well.
Usually the need is to ensure compatibility of your application and test with latest browser version. Based on this I would not deactivate automatic updates, unless the app is really specific and supports a defined version.
However, let’s say the latest version is incompatible with app/tests (bug or else) and you need to continue tests runs on previous version, there I would recommend use of isolated environnement (such as Docker for example), where you can manage properly the versions, and update env when latest version is validated.
Regards.
Charlie