-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Launch Cypress with Chrome "Incognito" using --incognito flag #4037
Comments
Can verify, this is what happens when Can I ask what functionality of Cypress launches within its own profile and also that isolates a few things for testing purposes, so it would probably be more feasible to mimic the behavior you are wanting from incognito within Cypress than to actually launch incognito mode outright. |
Thanks @jennifer-shehane - got it, will try alternative approaches to find the real problem. Trying Incognito mode in chrome to fix an intermittent issue with Auth0 "Request header or cookie too large" problem after tests run too frequently. Hitting it with a sledgehammer I know - will spend the time and find the fix. Thanks again. |
@jennifer-shehane I am having the same issue. Our webapp uses a library called beforeEach(() => {
cy.clearLocalStorage()
cy.clearCookies() ... but this is not clearing the |
Any comment on the how to execute the scripts in chrome incognito mode? Is there some settings that can be added into cypress.json file to handle it? |
Hi , Any update on this ? I am facing the same issue when trying to run the chrome incognito mode. |
Try this https://youtu.be/28-axK6SxgU.. |
Current behavior:
Launch Cypress with Chrome "Incognito" results in: "Whoops can't run your tests"
Desired behavior:
Able to launch Cypress with Chrome "Incognito"
Steps to reproduce: (app code and test code)
Clone repo to test: (https://github.com/beauholland/cypress-incognito)
Versions
Cypress 3.2.0
Node 10.14.1
Chrome 73.0.3683.103
Windows 10 V1803 build 17134.706
The text was updated successfully, but these errors were encountered: