UNPKG

@cityssm/puppeteer-launch

Version:

Launch Puppeteer, falling back to system browsers when the cached ones aren't working or aren't available.

11 lines (10 loc) 305 B
#!/usr/bin/env node /* eslint-disable no-console */ import { installFirefoxBrowser } from './installers.js'; try { await installFirefoxBrowser(); console.log('✔️ Firefox browser installed successfully'); } catch (error) { console.error('❌ Error installing Firefox browser:', error); }