Using ChromeDriver from Selenium on Python
When I enable performance logging (setting 'goog:loggingPrefs' on the DesiredCapabiities object to {'performance': 'ALL'}) it is my understanding that by default Network, Page and Timeline events should be logged - however I only see Page and Network events.
If I try to enable Timeline events using something like this:
chrome_options.add_experimental_option('perfLoggingPrefs', {
'enableNetwork' : True,
'enablePage' : True,
"enableTimeline": True
})
I get this:
selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: cannot parse capability: goog:chromeOptions
from invalid argument: cannot parse perfLoggingPrefs
from invalid argument: unrecognized performance logging option: enableTimeline
Any ideas?