-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Disable --headless=new for Chrome - fails with Chrome 117 #5483
Comments
Using Chrome Canary build on Windows win64 downloaded from git clone --branch test/chrome-stable-headless-cypress-latest https://github.com/MikeMcC399/github-action
cd github-action/examples/browser
npm ci
npx cypress info
npx cypress run --browser chrome:canary runs without error. The documentation should not be changed due to the Chromium bug, which is fixed and expected to roll out to |
Hello, I have the same problem, for the moment my quick solution was to migrate to another browser. Both Electron, Firefox and Edge work perfectly.
The ufw (Uncomplicated Firewall) check is to rule out that it is responsible for not connecting greetings |
We are not normally seeing this issue with Cypress |
It was actually the chrome version that was bothering me. Thanks, I was coming to comment on that. |
Subject
Plugins > Browser Launch API > Disable
--headless=new
for ChromeDescription
The documentation section Plugins > Browser Launch API > Disable
--headless=new
for Chrome says:If the parameter
--headless
is passed to Chrome117
then Cypress no longer runs, so the advice in the article does not work for this version of Chrome.Using Cypress
13.2.0
, Node.js20.6.1
Ubuntu 22.04.3 LTS
Chrome stable
117.0.5938.62
Windows 11 Pro
Chrome stable
117.0.5938.63
For both operating systems the errors are the same. (The port number is random.)
It may also fail immediately with
ECONNREFUSED
orECONNRESET
error.OR
Repro steps
On a local system with Google Chrome
117
installed:git clone --branch test/chrome-stable-headless-cypress-latest https://github.com/MikeMcC399/github-action cd github-action/examples/browser npm ci npx cypress info npm run cy:run:chrome
Suggestion
Review the article Plugins > Browser Launch API > Disable
--headless=new
for Chrome and consider if it needs to be adjusted due to the issues with Chrome117
.The parameter
--headless=old
, which is not mentioned in the article, also fails in Chrome117
.Note: Cypress
13.2.0
and Chrome117
work fine together out-of-the-box if the headless parameter is not manipulated.Related issues
--headless=old
in browser launch options cypress#27804References
The text was updated successfully, but these errors were encountered: