Fails to connect to Chrome on first run after clearing Cypress app data
Author: MikeMcC399Created Sep 17, 2026Updated Sep 17, 2026
Labelstype: bug
- follows on from https://github.com/cypress-io/cypress/issues/32132
Current behavior
If Cypress is started with npx cypress open --e2e --browser chrome and Cypress app data has been cleared according to Troubleshooting > Clear App Data, then Cypress fails to connect to Chrome.
A second attempt (without clearing app data) succeeds.
Desired behavior
Cypress should work on the first attempt after app data has been cleared.
Test code to reproduce
git clone --branch 34868-single-spec-cy-16 https://github.com/MikeMcC399/cypress-test-tiny
cd cypress-test-tiny
npm ci
rm -rf ~/.config/Cypress/cy/*
npx cypress open --e2e --browser chromeCypress Version
16.1.0
Debug Logs
cypress:server:browsers:cri-client connection to target 8D94800452D96DF7CD1AC91FACCB9F8B is terminated; rejecting Runtime.evaluate instead of enqueuing +8msSource: cypress-io/cypress