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
Can't launch firefox #5376
Comments
(node:23104) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process! TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
(node:23104) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) |
I also can't launch Firefox. But got different errors: Using: const USER_DATA_DIR = `/Users/${CURRENT_USER}/Library/Application\ Support/Firefox/Profiles/my-profile.default`;
const BROWSER_PATH = '/Applications/Firefox.app/Contents/MacOS/firefox';
const browser = await puppeteer.launch({
product: 'firefox',
headless: false,
args: [`-profile "${USER_DATA_DIR}"`],
// executablePath: BROWSER_PATH
});
const page = await browser.newPage(); Error 1If I leave the Error 2If I leave the
Note the chrome:// protocol stuff. |
Thanks for trying this out. You need to be using Firefox Nightly (74); and yes, the |
@mjzffr : I can do it now. Tried to |
I solved this error by adding the "-wait-for-browser" arg. |
In the meantime, you can include |
I tried with 2.1.0 but it doesn't work.
The text was updated successfully, but these errors were encountered: