When Chrome version greater than 115
There are situations that we didn't find exact chrome driver version comparing with browser
Added a condition that if there is no availability of exact version look for the nearest version availability
Example :
chrome browser version = 119.0.6045.106
if there is no exact match
check for chrome driver version availability comparing with 119.0.6045.***
['119.0.6045.0','119.0.6045.6','119.0.6045.9','119.0.6045.21','119.0.6045.59','119.0.6045.105']
When Chrome version greater than 115 There are situations that we didn't find exact chrome driver version comparing with browser Added a condition that if there is no availability of exact version look for the nearest version availability
Example : chrome browser version = 119.0.6045.106 if there is no exact match check for chrome driver version availability comparing with 119.0.6045.*** ['119.0.6045.0','119.0.6045.6','119.0.6045.9','119.0.6045.21','119.0.6045.59','119.0.6045.105']
in this it will take the 119.0.6045.105