Wow, thanks for all the tips, everyone! I tried using `page.waitForFunction` like some of you suggested, and it’s way better than just `waitForSelector`. Also, the flag idea for headless mode is genius—no more editing the script every time!
I’m still struggling a bit with error handling, though. I tried `pytest`, but it feels a bit overwhelming. Any simpler tools or examples you’d recommend?
Also, has anyone tried using puppeteer python with Docker? I’m thinking of containerizing my scripts for easier deployment. Would love to hear your thoughts!
Cheers!
I’m still struggling a bit with error handling, though. I tried `pytest`, but it feels a bit overwhelming. Any simpler tools or examples you’d recommend?
Also, has anyone tried using puppeteer python with Docker? I’m thinking of containerizing my scripts for easier deployment. Would love to hear your thoughts!
Cheers!
