UNPKG

@cityssm/puppeteer-launch

Version:

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

13 lines (9 loc) 310 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) }