This is the path

 capabilities: {
        'browserName': 'chrome',
        'chromeOptions': {

            prefs: {
                download: {
                    'prompt_for_download': false,
                    'directory_upgrade': true,
                    'default_directory':  'src/test/javascript/e2e/downloads'

I download the with this,


It downloads the file, but I am not able to if it was . It has only count in name, so I can if it contains count.

After all is done I will delete files, so only those files will stay after I download.

I did lots of things but could not manage.

Source link


Please enter your comment!
Please enter your name here