I’ve been down this rabbit hole too! Puppeteer is definitely less detectable out of the box, but Selenium can be stealthy if you put in the work.
For Puppeteer, the `puppeteer-extra-plugin-stealth` is a must. It hides a lot of the telltale signs that sites look for. For Selenium, you’ll need to mess with the browser profile and disable stuff like `webdriver`.
Also, don’t forget about browser fingerprinting. Sites can detect automation based on how your browser behaves, so randomizing things like screen resolution and fonts can help.
For Puppeteer, the `puppeteer-extra-plugin-stealth` is a must. It hides a lot of the telltale signs that sites look for. For Selenium, you’ll need to mess with the browser profile and disable stuff like `webdriver`.
Also, don’t forget about browser fingerprinting. Sites can detect automation based on how your browser behaves, so randomizing things like screen resolution and fonts can help.
