how to set chrome download path in protractor?
Is this possible? im about to write e2e tests wherein i need to download a file and set a specific path for it.
here's protractor.conf
capabilities: {
browserName: "chrome",
chromeOptions: {
args: ["--disable-gpu"],
prefs: {
"download": {
"prompt_for_download": false,
"directory_upgrade": true,
"default_directory": "C:\jobs\\"
}
}
}
}
The default_folder seems not to be working on my end.
Suggestions and tips are greatly appreciated!
Thank you!