Currently Puppeteer uses the default settings in Firefox for the CDP and WebDriver BiDi protocols which means that both are actually enabled. Instead Puppeteer should set [`remote.active-protocols`]9https://searchfox.org/mozilla-central/rev/d87ac4f189d6c1ad068bc3d1cdf50d2f871028c2/modules/libpref/init/all.js#3826-3830) to `2` if CDP is used and to `1` when BiDi is used. This can be done in the launcher specific code for each protocol. By doing that we can be sure that no CDP specific recommended preferences are actually affecting the WebDriver BiDi usage. A fix here would also require an uplift change.
Bug 1882085 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Currently Puppeteer uses the default settings in Firefox for the CDP and WebDriver BiDi protocols which means that both are actually enabled. Instead Puppeteer should set [`remote.active-protocols`]9https://searchfox.org/mozilla-central/rev/d87ac4f189d6c1ad068bc3d1cdf50d2f871028c2/modules/libpref/init/all.js#3826-3830) to `2` if CDP is used and to `1` when BiDi is used. This can be done in the launcher specific code for each protocol. By doing that we can be sure that no CDP specific recommended preferences are actually affecting the WebDriver BiDi usage. A fix here would also require an upstream change.
Currently Puppeteer uses the default settings in Firefox for the CDP and WebDriver BiDi protocols which means that both are actually enabled. Instead Puppeteer should set [`remote.active-protocols`](https://searchfox.org/mozilla-central/rev/d87ac4f189d6c1ad068bc3d1cdf50d2f871028c2/modules/libpref/init/all.js#3826-3830) to `2` if CDP is used and to `1` when BiDi is used. This can be done in the launcher specific code for each protocol. By doing that we can be sure that no CDP specific recommended preferences are actually affecting the WebDriver BiDi usage. A fix here would also require an upstream change.