Skip to main content
WEB SCRAPING: When web scraping, you MUST use a proxy to comply with our terms of service. Direct scraping of third-party websites without the site owner’s permission using Trigger.dev Cloud is prohibited and will result in account suspension. See this example which uses a proxy.
To use Puppeteer in your project, add these build settings to your trigger.config.ts file:
trigger.config.ts
The extension installs Chrome and sets PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome-stable for deployed builds automatically, so you do not need to set it. Don’t set it in your Dev environment: the extension does nothing in Dev, and locally Puppeteer uses the browser it downloads on install. Follow this example to get setup with Trigger.dev and Puppeteer in your project.