Skip to content

Instantly share code, notes, and snippets.

@kyouheicf
Last active April 15, 2024 15:47
Show Gist options
  • Select an option

  • Save kyouheicf/17e7a7bff0d4bf338b4d920a7e02a6e2 to your computer and use it in GitHub Desktop.

Select an option

Save kyouheicf/17e7a7bff0d4bf338b4d920a7e02a6e2 to your computer and use it in GitHub Desktop.
# Normal Firefox
PUPPETEER_PRODUCT=firefox \
PUPPETEER_EXECUTABLE_PATH=/Applications/Firefox.app/Contents/MacOS/firefox \
node firefox-pageshield-cspreport-once.js
# Firefox Developer Edition
PUPPETEER_PRODUCT=firefox \
PUPPETEER_EXECUTABLE_PATH=/Applications/Firefox\ Developer\ Edition.app/Contents/MacOS/firefox \
node firefox-pageshield-cspreport-once.js
# Firefox Nightly
PUPPETEER_PRODUCT=firefox \
PUPPETEER_EXECUTABLE_PATH=/Applications/Firefox\ Nightly.app/Contents/MacOS/firefox \
node firefox-pageshield-cspreport-once.js
# Ref.
# [Bug]: Firefox response buffers not working · Issue #7772 · puppeteer/puppeteer
# https://github.com/puppeteer/puppeteer/issues/7772
# How to Run Puppeteer with Firefox Instead of Chrome - Bannerbear
# https://www.bannerbear.com/blog/how-to-run-puppeteer-with-firefox-instead-of-chrome/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment