-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Feature] Disable "ImprovedCookieControls" feature in Chromium by default #2072
Comments
@alexduhanov do you have a repro this this one? I have a test that passes on Chromium and allows third party cookies both in persistent and non-persistent contexts... |
@pavelfeldman is your test running in headful mode? the issue doesn't seem to affect headless chromium |
@pavelfeldman - I don't have a repro for this one as I'm hitting a proprietary login server in my actual test, but I can confirm that the flag allows my test to pass. How were you able to test the third party cookies? Since the cookie must exist on a different domain, I'm not sure how to do this myself without a remote service that my test can talk to, or through some hosts file manipulation. |
@alexduhanov You can use |
I think these are all aligned and tested now. Please feel free to reopen. |
I haven't had any issues, thanks so much! |
Chromium 84.0.4131.0 includes the flag "Enable improved cookie controls UI in incognito mode" turned on by default, which will block third party cookies in Incognito mode.
Given that Playwright runs its tests in Incognito mode by default, this may be disruptive to users.
I was able to get around the issue by setting this flag to the browser launch options:
But it may be of benefit to others to have Playwright launch Chromium with this option disabled by default.
Note: this only seems to affect headful runs.
The text was updated successfully, but these errors were encountered: