Skip to content

[Bug]: 1.44.0 automatically closes the browser on test end (even with reuseBrower:true) #30828

Closed

Description

Version

1.44.0

Steps to reproduce

  1. Use playwright 1.44.0
  2. Create any test
  3. Set "playwright.reuseBrowser": true,
  4. Run it within VSC using the playwright extension
  5. Wait for the end, the browser should remain open (works on 1.43.1, not on 1.44.0)

Expected behavior

The browser (chromium) should remain open once the test ends

Actual behavior

The browser (chromium) closes itself when the test end

Additional context

I've tried to add some page.pause() or tiemouts to keep the browser alive as long as possible but this doesn't seem to have any impact.

Environment

System:
    OS: macOS 14.1.1
    Memory: 78.97 MB / 16.00 GB
  Binaries:
    Node: 22.1.0 - ~/.nvm/versions/node/v22.1.0/bin/node
    npm: 10.7.0 - ~/.nvm/versions/node/v22.1.0/bin/npm
  Languages:
    Bash: 3.2.57 - /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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