I used to log the performance stats of my web scraper with:
d = DesiredCapabilities.CHROME.copy()
# logs
d['goog:loggingPref'] = {'performance':'ALL'}
But after the latest updates I can't seem to make it work.
logs = driver.get_log('performance')
Now I get the following error:
InvalidArgumentException: Message: invalid argument: log type 'performance' not found (Session info: chrome=114.0.5735.198)
Did anything change in some recent updates about the way I need to initialize the performance logging in DesiredCapabilities?