Closed fusionx1 closed 7 years ago
I found the culprit, I replaced line 3 of index.js module.exports = require('./build/Browser.js') with this: module.exports = require('./lib/Browser.js')
@fusionx1 Did you download the module from NPM or directly from Github?
I just tested this and it's working. I think that if you don't have the /build
folder in your simple-headless-chrome
directory, that may be because you downloaded it from Github where the build
directory was ignored by default in the .gitignore file.
I'm uploading now those files in the new version, but I recommend you to use it directly from NPM.
Cheers! Luciano
cannot find module ./build/Browser.js when im running node clickSelector.js, its says it cannot find the module ./build/Browser.js