Skip to content

[BUG] Firefox tests crash with "Unexpected number of tabs in the new window" #8141

Open
@gcatto

Description

@gcatto

Context:

  • Playwright Version: 1.13.1
  • Operating System: Windows
  • Node.js version: v12.22.4
  • Browser: Firefox
  • Extra: N/A

Code Snippet

Help us help you! Put down a short code snippet that illustrates your bug and
that we can run and debug locally. For example:

C:\dev>npx playwright ff google.com
[open: Protocol error (Browser.newPage): Unexpected number of tabs in the new window: 2 newPage@chrome://juggler/content/TargetRegistry.js:321:13

] {
  name: 'Error'
}

Describe the bug

Trying to run tests, even just using the npx playwright ff google.com command as per above, crashes in Firefox immediately. When I run not in headless, I can see the extra Firefox privacy tab:

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions