Naveen
Naveen

Reputation: 59

TestCafe - Error : Cannot establish one or more browser connections

Testcafe was able to connect browser and trigger test cases before. All of sudden, it stopped working. The main issue is test cafe is able to open browser but it's not connecting to browser and unable to hit URL. Browser is getting opened and being closed by itself after some time. Browser shows following message.


This site can’t be reached XXX.XXX.X.XX took too long to respond. Try:

Checking the connection Checking the proxy and the firewall ERR_CONNECTION_TIMED_OUT


I didn't make any changes to softwares except changing my machine's login password. I changed the password in all required places like .npmrc etc.

Appreciate your help if anyone can provide solution.

Software versions:

node -v v14.17.5

npm -v 7.20.5

testcafe -v

Using locally installed version of TestCafe.

1.15.2

command to trigger my tests : testcafe chrome test.js

Note: This issue happening for all browsers.

Error : ERROR Cannot establish one or more browser connections. 1 of 1 browser connections have not been established:

Hints:

Upvotes: 3

Views: 2958

Answers (1)

Hideyuki Shimooka
Hideyuki Shimooka

Reputation: 11

Check permissions, owner and group in /tmp/Crashpad

Upvotes: 1

Related Questions