-
Notifications
You must be signed in to change notification settings - Fork 675
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
Cannot run tests in the Private mode in Firefox #1675
Comments
This happens the same way on my system. I'm passing
|
Still not working. Operating system: Windows 10 |
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open. |
We're closing this issue after a prolonged period of inactivity. If it still affects you, please create a new issue with up-to-date information. Thank you. |
Same problem Ubuntu 24.04 |
Hello @Vitalii4as, Could you please clarify why it's necessary for you to run the test in Private mode? |
Hi @PavelMor25. Our application supports validation of license key in the browser, some license information is stored on the client side in local storage. The local storage is cleared when the incognito window is closed. So, we show a warning message to the user when he/she tries to validate license key in incognito mode. We want to test that such a warning is shown and that we can detect that the user uses an incognito window. It works fine in chrome and edge but in firefox I get the behavior described in this issue. |
@Vitalii4as, Could you please share more details on how the browser is being checked for incognito mode? |
@PavelMor25 Sorry, not sure what you mean. We use this library to detect whether the incognito window is used. It works fine for our use cases. But I'm not sure how it can be related to this issue. |
@Vitalii4as, The issue you're facing is quite complex and represents a less popular use case. Unfortunately, we won't be able to take it on at this time as our team is currently focused on other priorities. |
Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
When trying to launch Firefox with a Private mode flag, it opens two windows: one regular and one private. And tests run in the regular window.
What is the expected behavior?
One window should be opened and, more important, test should run in the Private window.
How would you reproduce the current behavior (if this is a bug)?
testcafe "firefox -private-window" tests/test.js
Provide the test code and the tested page URL (if applicable)
n/a
Specify your
The text was updated successfully, but these errors were encountered: