Skip to content

Add support for launching Playwright with a persistent browser context #963

Closed

Description

@vdusek

Description

It looks like our current Python implementation always uses an incognito context when launching Playwright (launch, which is the default behavior. However, in JavaScript, the default is a persistent context unless explicitly set otherwise (launch_persistent_context).

This will probably be a breaking change (it's changing the default behaviour).

Relevant code

Activity

  1. added
    t-toolingIssues with this label are in the ownership of the tooling team.
    on Feb 6, 2025
  2. B4nan commented on Feb 10, 2025

    @B4nan
    Member

    PoC implementation #410

  3. Pijukatel commented on Feb 14, 2025

    @Pijukatel
    Collaborator

    There should be one unit test that will test that when using persistent browser context cookies are retained even when context.session changes, as discussed here #984 (comment)

  4. added a commit that references this issue on Feb 25, 2025
    f01520d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions