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

puppeteer-core doesn't respect configuration file #9378

Closed
MarvinXu opened this issue Dec 8, 2022 · 0 comments
Closed

puppeteer-core doesn't respect configuration file #9378

MarvinXu opened this issue Dec 8, 2022 · 0 comments

Comments

@MarvinXu
Copy link

MarvinXu commented Dec 8, 2022

I'm using puppeteer-core because I want to use locally installed chrome, and I set executablePath in puppeteer.config.js according to the doc Configuration | Puppeteer

module.exports = {
  executablePath: '/usr/bin/google-chrome'
}

But It doesn't respect the config file and still throws an error

Error: An executablePath or channel must be specified for puppeteer-core

I check the source code and find out the this logic only exists in puppeteer package

export const getConfiguration = (): Configuration => {

Maybe it's better to clarify this in the doc.

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

No branches or pull requests

3 participants