Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Crash with a specified browser channel #8466

Closed
sadym-chromium opened this issue Jun 3, 2022 · 0 comments · Fixed by #8468
Closed

[Bug]: Crash with a specified browser channel #8466

sadym-chromium opened this issue Jun 3, 2022 · 0 comments · Fixed by #8468
Assignees
Labels

Comments

@sadym-chromium
Copy link
Collaborator

Bug description

Steps to reproduce the problem:

  1. Launch Puppeteer with a custom browser channel:
const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch({channel: "chrome-dev"});
})();

Expected

Browser is launched.

Actual

Puppeteer crashes.

Puppeteer version

14.2.1

Node.js version

v18.0.0

npm version

8.6.0

What operating system are you seeing the problem on?

macOS

Relevant log output

.../node_modules/puppeteer/lib/cjs/puppeteer/common/assert.js:26
        throw new Error(message);
              ^

Error: `executablePath` must not be specified when `channel` is given.
    at assert (.../node_modules/puppeteer/lib/cjs/puppeteer/common/assert.js:26:15)
    at ChromeLauncher.launch (.../node_modules/puppeteer/lib/cjs/puppeteer/node/Launcher.js:97:36)
    at async /Users/sadym/work/del_me/example.js:4:19

Node.js v18.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants