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

Add an option to ignore preferences files load on browser relaunch #29330

Closed
agentran opened this issue Apr 15, 2024 · 6 comments · Fixed by #29447
Closed

Add an option to ignore preferences files load on browser relaunch #29330

agentran opened this issue Apr 15, 2024 · 6 comments · Fixed by #29447
Labels
browser: chrome type: feature New feature that does not currently exist

Comments

@agentran
Copy link

What would you like?

I'd like the option to be able to ignore chrome preferences load on relaunch

Why is this needed?

We have a browser application that encrypts the user data dir, causing relaunches of the browser not to work.

Other

No response

@jennifer-shehane
Copy link
Member

Hey @agentran, have you looked into using our existing Browser Launch API to change these preferences?

@agentran
Copy link
Author

Hey @jennifer-shehane , this doesnt match the specifications of what we are trying to do.
here is the PR for reference.
#29332

We are trying to ignore loading the chrome preferences files from the --user-data-dir.
not sure how this relates to the browser launch API as I can't modify the files that we load by default no matter what..

@agentran agentran changed the title Add an option to ignore chrome preferences on browser relaunch Add an option to ignore preferences files load on browser relaunch Apr 21, 2024
@jennifer-shehane
Copy link
Member

@agentran Here is a link to the binaries with the change for Linux and Mac. If you can run the command in the correct comment to see if the issue is resolved on your end, that'd be helpful: e439881#commitcomment-141535290

@agentran
Copy link
Author

agentran commented May 2, 2024

Hey @jennifer-shehane,
I can confirm that the binary does work as expected for me locally 👍

@jennifer-shehane
Copy link
Member

@agentran You're welcome to use that binary for the time being. I do think they no longer stay available after something like 90 days? I'll discuss with the team how we would want to move forward with accommodating this.

@jennifer-shehane jennifer-shehane added the stage: needs investigating Someone from Cypress needs to look at this label May 2, 2024
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jun 4, 2024

Released in 13.11.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.11.0, please open a new issue.

@cypress-bot cypress-bot bot removed the stage: needs investigating Someone from Cypress needs to look at this label Jun 4, 2024
@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Jun 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
browser: chrome type: feature New feature that does not currently exist
Projects
None yet
2 participants