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-firefox is still headless when devtools is true #4611

Closed
StephanBijzitter opened this issue Jun 21, 2019 · 1 comment
Closed

puppeteer-firefox is still headless when devtools is true #4611

StephanBijzitter opened this issue Jun 21, 2019 · 1 comment

Comments

@StephanBijzitter
Copy link

StephanBijzitter commented Jun 21, 2019

Not a big bug, just a small inconsistency.

Steps to reproduce

Tell us about your environment:

  • Puppeteer version: 1.17.0 (chrome) and 0.5.0 (firefox)
  • Platform / OS version: Mac
  • URLs (if applicable): N/a
  • Node.js version: 8.10.0

What steps will reproduce the problem?

const browser = await puppeteer.launch({
    devtools: true
});

What is the expected result?
The browser opens non-headless, with developer tools available.

What happens instead?
While chrome gives the expected result, firefox remains headless.

Workaround!
This very small and easy workaround will make the behaviour for firefox and chrome the same:

const browser = await puppeteer.launch({
    devtools: true,
    headless: false
});

Granted, firefox's developer tools will not be open, but I assume that's a work in progress anyway (or is simply not possible right now).

@mjzffr
Copy link
Contributor

mjzffr commented Jan 13, 2020

Thanks for the report. I'm closing this issue since the experimental puppeteer-firefox package is no longer maintained. A replacement will be available
later this year. You can learn more about Mozilla's work on this at https://wiki.mozilla.org/Remote

See also #5137

@mjzffr mjzffr closed this as completed Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants