(Created on )

Puppeteer: Pipe connections are not supported with Firefox and WebDriver BiDi

Firefox WebDriver BiDi is configured with pipe transport.


Firefox WebDriver BiDi is configured with pipe transport.

Error message

Pipe connections are not supported with Firefox and WebDriver BiDi

How this error happens

Firefox’s WebDriver BiDi connection does not support Puppeteer’s pipe transport.

The snippets use the imported puppeteer instance.

await puppeteer.launch({
    browser: "firefox",
    protocol: "webDriverBiDi",
    pipe: true,
});

How to fix

Keep Firefox and BiDi, but omit pipe so the launcher can use the supported connection.

const browser = await puppeteer.launch({
    browser: "firefox",
    protocol: "webDriverBiDi",
});

Things to keep in mind

This requires an installed compatible Firefox. Close the browser after use.

All Puppeteer errors

Keep Reading

Puppeteer Guides

All Guides →