How to Use Puppeteer to Upload a PDF to Supabase: Any Best Practices or Tips?

10 Replies, 2030 Views

Hey there! I’ve been working on a similar project. For puppeteer upload pdf to supabase, I found that using `page.waitForSelector()` before triggering the file upload helps avoid timing issues.

Also, Supabase’s docs have a great section on handling file uploads with their JS client. It’s worth a read if you haven’t checked it out yet.

Messages In This Thread



Users browsing this thread: 1 Guest(s)