Skip to content

[Regression]: Inspector and Browser doesn't close on CTRL+C #33000

@Nav-2d

Description

@Nav-2d

Last Good Version

1.46.1

First Bad Version

1.47.2

Steps to reproduce

import { test, expect } from "@playwright/test";

test.only("get started link", async ({ page }) => {
  await page.goto("https://playwright.dev/");
  await page.getByRole("link", { name: "Get started" }).click();
  await expect(
    page.getByRole("heading", { name: "Installation" })
  ).toBeVisible();
});

Launch the debug mode using npx playwright test --debug

Expected behavior

Click CTRL+C and the inspector + browser should auto close

Actual behavior

Click CTRL+C and the inspector + browser doesn't auto close

Additional context

No response

Environment

OS: macOS 15.0
    CPU: (12) arm64 Apple M3 Pro
    Memory: 11.61 GB / 36.00 GB
  Binaries:
    Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm
  Languages:
    Bash: 3.2.57 - /bin/bash
  npmPackages:
    @playwright/test: ^1.47.2 => 1.47.2

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