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

refactor: update headless flag from true to new #239

Open
BioPhoton opened this issue Jun 7, 2023 · 0 comments
Open

refactor: update headless flag from true to new #239

BioPhoton opened this issue Jun 7, 2023 · 0 comments
Labels

Comments

@BioPhoton
Copy link
Contributor

Currently we get a warning because of a deprecated flag for headless mode.

Puppeteer old Headless deprecation warning:
    In the near feature `headless: true` will default to the new Headless mode
    for Chrome instead of the old Headless implementation. For more
    information, please see https://developer.chrome.com/articles/new-headless/.
    Consider opting in early by passing `headless: "new"` to `puppeteer.launch()`
    If you encounter any bugs, please report them to https://github.com/puppeteer/puppeteer/issues/new/choose.

By updating the value we can get rid of the warning and are save in the future

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

No branches or pull requests

1 participant