Chrome Driver versions have moved from a #.# to a #.#.#.# number format in newer versions. A check in this setup script was throwing an Invalid Chromedriver-version error an exception incorrectly.
Error:
Exception: Invalid --chromedriver-version=76.0.3809.25! Must match /^\d+.\d+$/
This change fixes that error.
I've tested the new regex in an online regex checker and it matches both the new version string and the old (i.e. 76.0.3809.25 matches, and 2.47 matches)
Chrome Driver versions have moved from a #.# to a #.#.#.# number format in newer versions. A check in this setup script was throwing an Invalid Chromedriver-version error an exception incorrectly.
Error: Exception: Invalid --chromedriver-version=76.0.3809.25! Must match /^\d+.\d+$/
This change fixes that error.
I've tested the new regex in an online regex checker and it matches both the new version string and the old (i.e. 76.0.3809.25 matches, and 2.47 matches)