'getting error as TypeError: __init__() got an unexpected keyword argument 'cache_valid_range' . It is not present in ChromeDriverManager Python

I am trying cache_valid_range for my ChromeDriverManager constructor, below is a code snippet enter image description here

But I have checked the latest ChromeDriverManager class and it does not have the cache_valid_range parameter?

Any idea how we can use that parameter? Any help appreciated!!

Note:- The end goal is to increase cache validity from 1 day to 7 days as my Automation testcases are failing after 24 hours



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source