Hey everyone! ๐
So, Iโve been messing around with Puppeteer lately, and I keep running into these *annoying* alert Puppeteer situations. Like, how do you even handle them properly? ๐
I tried using `page.on('dialog')`, but sometimes it feels like the alert Puppeteer just doesnโt wanna cooperate. Anyone else face this?
Also, whatโs the deal with dismissing vs accepting alerts? Like, when do you use `dialog.accept()` vs `dialog.dismiss()`? I feel like Iโm just guessing half the time lol.
Any tips or best practices for dealing with alert Puppeteer stuff? Maybe some common pitfalls to avoid?
Thanks in advance! ๐
So, Iโve been messing around with Puppeteer lately, and I keep running into these *annoying* alert Puppeteer situations. Like, how do you even handle them properly? ๐
I tried using `page.on('dialog')`, but sometimes it feels like the alert Puppeteer just doesnโt wanna cooperate. Anyone else face this?
Also, whatโs the deal with dismissing vs accepting alerts? Like, when do you use `dialog.accept()` vs `dialog.dismiss()`? I feel like Iโm just guessing half the time lol.
Any tips or best practices for dealing with alert Puppeteer stuff? Maybe some common pitfalls to avoid?
Thanks in advance! ๐
