-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
What would you like?
Context
In a recent update, Chrome updated the headless
mode.
According to the article, Google had two separate builds for Chrome: one for headless
, and one for headful
modes, which might have potentially created problems for automation engineers since there might've been differences between Chrome behavior in the test environment and in the production environment.
After the recent update, it is no longer the case.
Implementation
Mathias and Peter describe in the article how to opt to the new headless
mode for Puppeteer and Selenium-WebDriver, but, unfortunately, don't do it for Cypress.
Though, I think that implementation examples can give a general idea of how to do it in Cypress.
Why is this needed?
To avoid potential inconsistencies between the test environment, in which we run Cypres tests, and the production environment.
Other
No response