Unable to run native tests in chrome/edge #8350
Labels
STATE: Need response
An issue that requires a response or attention from the team.
TYPE: bug
The described behavior is considered as wrong (bug).
What is your Scenario?
Run any tests on testcafe
What is the Current behavior?
Testcafe fails to open with error
ERROR Unable to open the "chrome:" browser due to the following error:
Error: connect ECONNREFUSED ::1:54735
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1615:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)
What is the Expected behavior?
Testcafe opens and runs test
What is the public URL of the test page? (attach your complete example)
N/A any URL
What is your TestCafe test code?
import { Selector, t } from 'testcafe';
fixture('Basic testcafe example')
.page('www.example.com');
test('Do anything', async t => {
await t.click(Selector('a'))
});
Your complete configuration file
n/a
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
1.Run any testcafe test
TestCafe version
3.7.0
Node.js version
22.11.0
Command-line arguments
npx testcafe chrome test\basicTest.js
Browser name(s) and version(s)
chrome 131.0.6778.109
Platform(s) and version(s)
Windows 11 Pro
Other
This is happening for about 50% of our team, with some users experiencing the issue & others not - there does not seem to be any correlation with node/chrome versions and having/not having this issue.
Those experiencing the issue can run tests in testcafe if using --disable-native-automation
This issue happens in edge and chrome, headed or headless.
This issue does not happen in firefox.
This seems to have started today.
Any further information I can provide, please let me know.
The text was updated successfully, but these errors were encountered: