Skip to content

[BUG] Exception when using LaunchPersistentContextAsync #18046

@dracan

Description

@dracan

Context:

  • Playwright Version: 1.27.0
  • Operating System: Windows
  • Node.js version: n/a (using .NET)
  • Browser: Chromium
  • Extra: [any specific details about your environment]

I've created a simple repro case here:
https://github.com/dracan/PlaywrightBugRepro

I'm trying to use Playwright against my main Chrome profile/browser with the LaunchPersistentContextAsync method, but it just throws an exception...

image

The exception on that screenshot is thrown on line 2. Ignore that it's using LINQPad there - the same happens in a normal dotnet console app (see repro-case above).

Instructions followed from the docs [here](https://playwright.dev/dotnet/docs/api/class-browsertype#browser-type-launch-persistent-context] to get that path.

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