-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run Chrome 127 - Error: WebSocket connection closed #8240
Comments
Note that using |
Hey @sam-yh , yes it's related to the search engine selection screen. |
Hi @enriccarrion - thanks! Though that doesn't seem to be an option that exists for Testcafe. At least I couldn't find any mention in the documentation or recent commits and it also unfortunately doesn't seem to have any effect for us. |
We are facing the same issue. Running chrome with the next command works: This is a chrome flag, but it works if provided with the browser. Although this workaround works, it's not something we can use on our side. Will there be some kind of a fix? |
Just in case anyone else has issues applying the workaround, I had to use it this way, for it to work: |
Yes @sam-yh it's a chrome.exe flag, not a TestCafe flag. |
We appreciate you taking the time to share information about this issue. We reproduced the bug and added this ticket to our internal task queue. We'll update this thread once we have news. |
Confirmed, I believe its correct order for testcafe args |
I had to apply it to the runner: Problem fixed for now. |
…8248) <!-- Thank you for your contribution. Before making a PR, please read our contributing guidelines at https://github.com/DevExpress/testcafe/blob/master/CONTRIBUTING.md#code-contribution We recommend creating a *draft* PR, so that you can mark it as 'ready for review' when you are done. --> ## Purpose _Describe the problem you want to address or the feature you want to implement._ ## Approach _Describe how your changes address the issue or implement the desired functionality in as much detail as possible._ ## References close #8240 ## Pre-Merge TODO - [ ] Write tests for your proposed changes - [ ] Make sure that existing tests do not fail
Meanwhile how do I run it in headless mode ? Coz when I am running through the command |
Hey, for an individual command, you need to use |
Thanks for the reply, but this doesn't work as expected. It still starts chrome instances. |
Ah sorry, I misread. I use |
Thanks, that worked like a charm 👍🏼 |
As of Chrome 130.0.6723.59 using Node 20.17.0 the websocket closed error started to occur almost every time, again (even when using the mentioned flag in chrome). Anyone else experiencing the same issue? Using MacOS 15.0.1 EDIT:
|
Hello, I believe you have encountered the following issue: #8286 We have released testcafe 3.7.0-rc.1 to address this issue. Please take a look and let us know your results. I would also like to ask you to create a separate issue ticket should you find a new issue by following this template: |
We've switched to RC1 does work without throwing |
What is your Scenario?
Since the update of Chrome to v.127, it can't be used with Testcafe anymore. Trying leads to the following error message:
What is the Current behavior?
Can't run Testcafe test files with Chrome version 127
What is the Expected behavior?
Being able to run Testcafe test files with Chrome version 127
What is the public URL of the test page? (attach your complete example)
https://testcafe.io/
What is your TestCafe test code?
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
TestCafe version
3.6.2.
Node.js version
20.16.0
Command-line arguments
testcafe chrome test.js
Browser name(s) and version(s)
Chrome 127.0.6533.72
Platform(s) and version(s)
Ubuntu 22.04.3 LTS
Other
No response
The text was updated successfully, but these errors were encountered: