Does Selenium support headless browser testing?

前端 未结 12 2789
说谎
说谎 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

    I know this is a old post. Thought it will help others who are looking for an answer.

    You can install a full blown firefox in any linux distribution using XVFB. This makes sure your testing is performed in a real browser. Once you have a headless setup, you can use webdriver of your choice to connect and run testing.

提交回复
热议问题