Is Selenium Headless the Best Way to Run Automated Tests Without a GUI? or How Reliable is Selenium H

16 Replies, 1273 Views

Honestly, the performance boost with selenium headless really depends on what you're doing. If you're scraping heavy JS sites, the difference might be minimal since the browser still processes everything.

But for simple tasks? Yeah, it’s faster. Not mind-blowing, but noticeable.

Weird behavior tho? Totally. Some sites detect headless mode and block you. Try adding `--disable-bot-experiments` or use undetected-chromedriver (github repo). Helps sometimes!

Also, random fails? Yup. Welcome to the club πŸ˜‚

Messages In This Thread



Users browsing this thread: 1 Guest(s)