This tutorial will teach you how to automatically install the latest version of the driver for:
ChromeDriver
EdgeDriver
IEDriver
FirefoxDriver
GeckoDriver
PhantomJS
You clone the project @ https://github.com/SergeyPirogov/webd...
You can, also, install it from PyPi with pip install webdriver_manager
This video will also show how to update the Webdriver manager config so you can set a specific version of the driver that you want to use in case you don't want Webdriver manager to update to the latest driver version.
It scales really well if you have a large infrastructure where you run tests and its also easy to programmatically control the config file if you want to make your test even more dynamic assuming you need to test on multiple browser versions.