We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 533f83a commit dffad28Copy full SHA for dffad28
packages/puppeteer-core/src/node/ProductLauncher.ts
@@ -112,6 +112,18 @@ export abstract class ProductLauncher {
112
});
113
};
114
115
+ if (
116
+ this.#product === 'firefox' &&
117
+ protocol !== 'webDriverBiDi' &&
118
+ this.puppeteer.configuration.logLevel === 'warn'
119
+ ) {
120
+ console.warn(
121
+ `Chrome DevTools Protocol (CDP) support for Firefox is deprecated in Puppeteer ` +
122
+ `and it will be eventually removed. ` +
123
+ `Use WebDriver BiDi instead (see https://pptr.dev/webdriver-bidi#get-started).`
124
+ );
125
+ }
126
+
127
const browserProcess = launch({
128
executablePath: launchArgs.executablePath,
129
args: launchArgs.args,
0 commit comments