You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you provide an example of how to use the module in conjunction with vo?
I have to click a list of href's that trigger a download and I need to cancel them all. I'm using vo to do this and it works most of the times, but there are some times that a FileSave dialog pop-up, even when I setup the following:
` var nightmare = Nightmare({ show: true, ignoreDownloads: true });
nightmare.on('download', function(state, downloadItem) {
nightmare.emit('download', 'cancel', downloadItem);
}
`
I'm yielding nightmare 3 times, the last yield is where I click on the href's and that's where I'm calling '.downloadManager()' ... is that correct?
The text was updated successfully, but these errors were encountered:
Can you provide an example of how to use the module in conjunction with vo?
I have to click a list of href's that trigger a download and I need to cancel them all. I'm using vo to do this and it works most of the times, but there are some times that a FileSave dialog pop-up, even when I setup the following:
` var nightmare = Nightmare({ show: true, ignoreDownloads: true });
nightmare.on('download', function(state, downloadItem) {
nightmare.emit('download', 'cancel', downloadItem);
}
`
I'm yielding nightmare 3 times, the last yield is where I click on the href's and that's where I'm calling '.downloadManager()' ... is that correct?
The text was updated successfully, but these errors were encountered: