bas-remote-node
bas-remote-node copied to clipboard
NodeJS library, which allows you to automate Google Chrome browser.
{ "message": "Cannot connect to the WebSocket server (reason: connection failed)\nThis could be due to the fact that the engine was not downloaded or unpacked correctly.\nTry completely deleting the engine...
Hello. I experience occasional but quite often error on launch puppeteer-with-fingerprints plugin: Version: [email protected] Thread #0 failed: Error: Can't send data because WebSocket is not opened. at exports.throwIf (C:\bots\test\node_modules\websocket-as-promised\src\utils.js:4:11) at...
Here it is proper way to catch exception from network requests. It allows avoid uncaught exception cases.
``` undefined:1 ^ SyntaxError: Unexpected token < in JSON at position 0 at IncomingMessage. (my_program_path\node_modules\bas-remote-node\src\utils.js:29:20) ``` There are some issues which force close my program when fetching fingerprint using "puppeteer-with-fingerprints"
I have this on all three source codes, that where all 3 running fine and efficient yesterday afternoon, now when I run ' node {script} ' I keep getting this...