Skip to content

[BUG] Any Chrome channel crashes on macOS with no error after few seconds of launching #14563

@mike1808

Description

@mike1808

Context:

  • Playwright Version: 1.23.0-alpha-may-31-2022
  • Operating System: macOS 12.3.1
  • Node.js version: v18.2.0
  • Browser: chrome, chrome-beta, chrome-canary
  • Extra: [any specific details about your environment]

System:

  • OS: macOS 12.3.1
  • Memory: 10.54 GB / 64.00 GB

Binaries:

  • Node: 18.2.0 - ~/.nvm/versions/node/v18.2.0/bin/node
  • Yarn: 1.22.18 - ~/.nvm/versions/node/v18.2.0/bin/yarn
  • npm: 8.9.0 - ~/.nvm/versions/node/v18.2.0/bin/npm

Languages:

  • Bash: 5.1.8 - /usr/local/bin/bash

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:

const { chromium } = require("playwright");

(async () => {
    const browser = await chromium.launch({
        headless: false,
        channel: "chrome",
        devtools: true,
        logger: {
            isEnabled(name, severity) {
                return true;
            },
            log(name, severity, message, args, hints) {
                console.log(name, severity, message, args);
            },
        },
    });
    const page = await browser.newPage();
    while (true) {
        await page.goto("https://example.org");
        await wait(1000);
    }
    await browser.close();
})();

function wait(ms) {
    return new Promise((resolve) => setTimeout(resolve, ms));
}

Describe the bug

I'm trying to use any Chrome version instead of Chromium but it closes spontaneously with no errors. Even if you do npx playwright open --channel chrome it will close after few seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions