/** * @license * Copyright 2024 Google Inc. * SPDX-License-Identifier: Apache-2.0
*/ const puppeteer = require('puppeteer');
/** * To have Puppeteer fetch a Firefox binary for you, first run: * * npx puppeteer browsers install firefox * * To get additional logging about which browser binary is executed, * run this example as: * * DEBUG=puppeteer:launcher NODE_PATH=../ node examples/cross-browser.js * * You can set a custom binary with the `executablePath` launcher option.
*/
const firefoxOptions = {
browser: 'firefox',
extraPrefsFirefox: { // Enable additional Firefox logging from its protocol implementation // 'remote.log.level': 'Trace',
}, // Make browser logs visible
dumpio: true,
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.