#34868·cypress

Fails to connect to Chrome on first run after clearing Cypress app data

Author: MikeMcC399Created Sep 17, 2026Updated Sep 17, 2026
Labelstype: bug

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

bash
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 chrome

Cypress Version

16.1.0

Debug Logs

bash
cypress:server:browsers:cri-client connection to target 8D94800452D96DF7CD1AC91FACCB9F8B is terminated; rejecting Runtime.evaluate instead of enqueuing +8ms