playwright-java icon indicating copy to clipboard operation
playwright-java copied to clipboard

[Bug]: Incognito mode in chromium with version 1.43

Open joseRodenasMinderest opened this issue 9 months ago • 1 comments

Version

1.43.0

Steps to reproduce

Open a new context like always, it opens a non incognito browser.

https://playwright.dev/java/docs/api/class-browsercontext

// Create a new incognito browser context BrowserContext context = browser.newContext(); // Create a new page inside context. Page page = context.newPage(); page.navigate("https://example.com"); // Dispose context once it is no longer needed. context.close();

Expected behavior

The browser opens in incognito mode

Actual behavior

The browser opens in non incognito mode

Additional context

Just check that in 1.42.0 version works like always

Environment

Operating System: Ubuntu 22.04 Browser: Chromium Java: OpenJdk 11

joseRodenasMinderest avatar May 14 '24 16:05 joseRodenasMinderest

Due to a Chromium change, it does not look like Incognito anymore but it is actually an incognito tab - do you experience issues with your page behaving different?

mxschmitt avatar May 15 '24 16:05 mxschmitt

Closing as per above. Feel free to re-file if you still experience issues.

mxschmitt avatar May 23 '24 10:05 mxschmitt