Skip to content

[Feature] support 'private mode' In Firefox #1639

@cerebrl

Description

@cerebrl

Hello all,

First, we've been using Playwright to test all three supported browser platforms, and it's been working well. I did discover something with Firefox though that was a bit confusing and believe warrants a question.

I have a project utilizing indexedDB and was testing it with Playwright using newContext. All tests passed without issue. But, we had a reported bug that our project failed in Firefox's "private mode". After some debugging, it seems accessing indexedDB in Firefox's private mode is denied, causing our code to fail.

Since we were running our tests with firefox.newContext(), we believed it was running the tests against the browser's version of private mode or "incognito" (since the API docs hint at this). But, that doesn't seem to be entirely accurate as our Firefox tests passed in Playwright with newContext, but failed in manual testing in Firefox's private mode.

Question: Is it true that newContext is similar to, but not actually, private mode/incognito?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions