Skip to content

Headed browser sessions aren't cleaned up #1268

Open
@volkanunsal

Description

@volkanunsal

I'm noticing this issue with several browsers. To replicate:

const page = await host.browse(
  "https://microsoft.github.io/genaiscript/reference/scripts/browser/",
  {
    headless: false,
    browser: "firefox",
  }
);

Each time you run the script, it creates a new browser session.

What makes this worse is Chromium session cannot be quit with Cmd+Q. You have to Force Quit it. That's why I chose to use Firefox.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions