I tried and did not download the file:
1) using nightmare-download-manager & nightmare-inline-download plugin 2) execute nightmare without the graphic active {show:false}
1) & 2) Result: After clicking download - a new electron window opens and just hangs there...
3) overwriting the window target='_self'
.evaluate(() => {
window.open(jQuery('#download')[0].click, '_self');
}
Electron opens 2 new windows( _self window and normal window) and both just hangs there....
Please help :(
Thank you in advance!