[chromedriver-autoinstaller](https://pypi.org/project/chromedriver-autoinstaller/) library can be used for that purpose.