Next.js Discord

Discord Forum

Using Puppeteer in updated version

Unanswered
Bonga shad posted this in #help-forum
Open in Discord
Bonga shadOP
Hi, have anyone archive to run puppeteer in NextJS and Vercel and Turborepo? I know there are many example in the internet but none of them seems to work. Also, they don't include the versions so I can't replicate it

4 Replies

you can use something like browserbase
or roll a VM and create a authenticated api so you can interact with your nextjs backend.

I would not recommend using puppeteer directly in nextjs
@Bonga shad solved?