Currently, we only automatically download the chromedriver for the factory version of Chrome shipped along with the device. If the device has any other version of Chrome, we just give them the link from where they can download the chromedriver matching with their Chrome version. This is done because we cannot get the exact version of chromedriver to download by just looking at the version of Chrome browser.
But we can automatically download the matching version of chromedriver by looking at how other packages achieve it, like chromedriver and appium-chromedriver.