Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress not being able to connect to Chrome 86 #8821

Closed
DogaruRaluca opened this issue Oct 13, 2020 · 2 comments
Closed

Cypress not being able to connect to Chrome 86 #8821

DogaruRaluca opened this issue Oct 13, 2020 · 2 comments
Labels
type: duplicate This issue or pull request already exists

Comments

@DogaruRaluca
Copy link

DogaruRaluca commented Oct 13, 2020

Hi, I am facing the same issue of Cypress not being able to connect to Chrome. If I try to run my tests using Firefox Beta or Electron, it works. What's the problem with Chrome?

Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.
This usually indicates there was a problem opening the Chrome browser.
The CDP port requested was 52419.
Error details: Error: could not find CRI target

I have added the following code, but the problem persists. I mention the fact that everything worked fine until yesterday.

module.exports = (on, config) => {
on('before:browser:launch', (browser, launchOptions) => {
if (browser.name === 'chrome' && browser.isHeadless) {
launchOptions.args.push('--disable-gpu');
return launchOptions
}
});
}
@jennifer-shehane
Copy link
Member

Duplicate of #7450, if it was working yesterday I would suggest tracking down what's changed between yesterday and now to help narrow down what introduced the error.

@jennifer-shehane jennifer-shehane added the type: duplicate This issue or pull request already exists label Oct 13, 2020
@DogaruRaluca
Copy link
Author

I have made no changes since yesterday. It's clear that is a problem with the new version of Chrome(86) and Cypress. Everything is working fine with Electron.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants