Trying to find a solution to download files during my tests, i found this question that lead me to preferences file in chrome folder.
Apparently, there are no info about shutting the prompt for download or/and setting a default folder. Does anyone knows how i can do this?
Here's what i tried:
capabilities: {
'browserName': 'chrome',
'chromeOptions': {
prefs: {
'downloads': {
'prompt_for_download': false,
'default_directory': '/downloads/'
}
}
}
},
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…