Open avishwakarma opened 6 years ago
Unable to download HAR file, following the error on the network panel
Not allowed to load local resource: chrome://version/?get-har
Using the same code shared in the README
let harPlugin = require('nightmare-har-plugin') harPlugin.install(Nightmare) let options = { waitTimeout: 1000 } let nightmare = Nightmare(Object.assign(harPlugin.getDevtoolsOptions(), options)) nightmare .waitForDevtools() .goto('http://news.ycombinator.com') .wait('#hnmain') .getHAR() .end() .then((result) => console.log(JSON.stringify({log: result}))) .catch((error) => console.error(error))```
Still getting the same error?
I have the same problem. electron version:1.8.6
if you guys getting this error, please use nightmare: "^2.10.0",then your issue will be fixed
Unable to download HAR file, following the error on the network panel
Not allowed to load local resource: chrome://version/?get-har
Using the same code shared in the README