Does Selenium support headless browser testing?

前端 未结 12 2846
说谎
说谎 2020-11-27 03:49

I\'m looking at Selenium Server at the moment, and I don\'t seem to notice a driver that supports headless browser testing.

Unless I\'m mistaken, it doesn\'t support

12条回答
  •  暖寄归人
    2020-11-27 04:06

    Headless browsers are a bad idea. They get you some testing, but nothing like what a real user will see, and they mask lots of problems that only real browsers encounter. You're infinitely better off using a "headed" browser (i.e., anything but HTMLUnit) on a headless environment (e.g., Windows, or Linux with XVFB).

提交回复
热议问题