ERROR NativeBinaryHasFailedError: The find-window process failed with the 1 exit code.
See original GitHub issueWhat is your Scenario?
I upgraded to the latest release candidate (1.17.2-rc.2), and trying to run any test using any browser, on MacOS. The tests fail to start, and hang, unable to exit using the terminal.
I can stop the node session using activity monitor… but if I try to repeat then node isn’t started the 2nd time and I have to close the terminal window to exit.
What is the Current behavior?
An error is returned, and the tests don’t start
Using locally installed version of TestCafe.
The "browsers" option from the configuration file will be ignored.
ERROR NativeBinaryHasFailedError: The find-window process failed with the 1 exit code.
Process output:
The application /Users/rcooper/.testcafe-browser-tools/TestCafe Browser Tools.app/Contents/MacOS/testcafe-browser-tools cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10661 "(null)" UserInfo={_LSLine=3844, _LSFunction=_LSOpenStuffCallLocal}
at ChildProcess.<anonymous> (/Users/rcooper/work/github.com/change/regression-qaa/node_modules/testcafe-browser-tools/src/utils/exec.js:74:24)
at ChildProcess.emit (node:events:390:28)
at ChildProcess.emit (node:domain:475:12)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
at Process.callbackTrampoline (node:internal/async_hooks:130:17)
Type "testcafe -h" for help.
What is the Expected behavior?
Testcafe should trigger tests as per normal.
What is your public website URL? (or attach your complete example)
Tests don’t start, so N/A
What is your TestCafe test code?
N/A
Your complete configuration file
N/A
Your complete test report
Using locally installed version of TestCafe.
The "browsers" option from the configuration file will be ignored.
ERROR NativeBinaryHasFailedError: The find-window process failed with the 1 exit code.
Process output:
The application /Users/rcooper/.testcafe-browser-tools/TestCafe Browser Tools.app/Contents/MacOS/testcafe-browser-tools cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10661 "(null)" UserInfo={_LSLine=3844, _LSFunction=_LSOpenStuffCallLocal}
at ChildProcess.<anonymous> (/Users/rcooper/work/github.com/change/regression-qaa/node_modules/testcafe-browser-tools/src/utils/exec.js:74:24)
at ChildProcess.emit (node:events:390:28)
at ChildProcess.emit (node:domain:475:12)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
at Process.callbackTrampoline (node:internal/async_hooks:130:17)
Type "testcafe -h" for help.
Screenshots
No response
Steps to Reproduce
- Install the latest release candidate
- Run
testcafe chrome
TestCafe version
1.17.2-rc.2
Node.js version
16.13.0 (but also failing with 10.15.3)
Command-line arguments
testcafe chrome
Browser name(s) and version(s)
No response
Platform(s) and version(s)
MacOS Big Sur - 11.6.2
Other
This only seems to be happening on my laptop, since our CircleCi runs are working (which uses Linux). I’ve uninstalled testcafe-browser-tools + testcafe and did a clean install, also attempted running with sudo in case it’s a permissions thing… no luck
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (7 by maintainers)

Top Related StackOverflow Question
Hi,
Thank you for your input. We have reproduced the problem, please stay tuned.
Hi, @KingM1 You are very welcome.