Man, the bot detection is brutal. I’ve had luck with Playwright’s stealth plugin—it masks a lot of the telltale signs of automation.
For debugging, I lean heavy on Chrome DevTools Protocol (CDP). You can hook into it even with headless browsers and inspect the DOM, network calls, etc. Not as smooth as a GUI, but way better than guessing.
Also, screenshots are my lifeline. I litter my scripts with `page.screenshot()` calls to see where things break lol.
For debugging, I lean heavy on Chrome DevTools Protocol (CDP). You can hook into it even with headless browsers and inspect the DOM, network calls, etc. Not as smooth as a GUI, but way better than guessing.
Also, screenshots are my lifeline. I litter my scripts with `page.screenshot()` calls to see where things break lol.
