websocket error #1879
Replies: 4 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Is this the right information? |
Beta Was this translation helpful? Give feedback.
-
In the latest failed tests of the pull requests similar errors occur, could that be related? https://github.com/getgauge/taiko/pull/1886/checks?check_run_id=1967619755 |
Beta Was this translation helpful? Give feedback.
-
I switched to headless and the error stopped. |
Beta Was this translation helpful? Give feedback.
-
Hello,
We have a spec that searches and downloads files
After some repeats of browsing steps ( search and download file) I encounter these errors:
TypeError: Cannot read property 'webSocketDebuggerUrl' of undefined
at Chrome._fetchDebuggerURL (D:\clicking_tool\node_modules\chrome-remote-interface\lib\chrome.js:182:31)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Chrome._start (D:\clicking_tool\node_modules\chrome-remote-interface\lib\chrome.js:139:25)
it seems like an earlier error can't be described.
or
Error: WebSocket is not open: readyState 2 (CLOSING)
at sendAfterClose (D:\clicking_tool\node_modules\ws\lib\websocket.js:754:17)
at WebSocket.send (D:\clicking_tool\node_modules\ws\lib\websocket.js:345:7)
at Chrome._enqueueCommand (D:\clicking_tool\node_modules\chrome-remote-interface\lib\chrome.js:281:18)
at D:\clicking_tool\node_modules\chrome-remote-interface\lib\chrome.js:87:22
Chrome Versie 88.0.4324.182
Taiko v 1.1.4
We've created a new similar project and there the error is: "no connection can be made because the target machine actively refuses it"
Taiko v 1.2.0
The code we use is
it can go correct for 50 times or only once before erroring out. Did anyone get this too or does anyone know how to catch the error to continue the other steps?
Beta Was this translation helpful? Give feedback.
All reactions