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

Support headless: "new" #853

Open
nrathi opened this issue Nov 6, 2023 · 1 comment
Open

Support headless: "new" #853

nrathi opened this issue Nov 6, 2023 · 1 comment

Comments

@nrathi
Copy link

nrathi commented Nov 6, 2023

Can you please update the types to support "new" as a headless option? Without it, this error is clogging my terminal:

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.

I am using the following:

    "puppeteer": "^19.11.1",
    "puppeteer-extra": "^3.3.6",
    "puppeteer-extra-plugin-stealth": "^2.11.2"
@nrathi nrathi changed the title headl Support headless: "new" Nov 6, 2023
@ghoubrial
Copy link

This error is not from puppeteer-extra wrapper, rather from the underlying installed puppeteer package. Just update your puppeteer version and this warning message will disappear.

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

2 participants