I have this error :
selenium.common.exceptions.WebDriverException: Message: target frame detached
(Session info: chrome=102.0.5005.63)
which is often displayed after running my program, since the update of chrome. I suppose it's due to the fact that the version of chrome and chromedriver don't match exactly. Indeed I have the version 102.0.5005.63 of chrome (up to date) and I have the version 102.0.5005.61 of chromedriver (its last version is 103.0.5060.24 but it's obviously not compatible with my chrome version and the version 102.0.5005.63 of chromedriver does not exist).
How can I solve the problem? I saw that one of the solutions was to re-download an older version of chrome but if possible I would like to keep an updated version.