Because there are always problems and differences between how chrome "displays" elements in headless and normal mode. Also, you maybe want to test IE and Firefox on Windows/Unix.
Using headless browsers on Ubuntu machines instead of real browsers on Windows and macOS machines is irresponsible and a very bad practice. That's how you end up with bugs in production.
1
u/colshrapnel Jun 13 '19
Who would use a Java-powered Selenium when there are plenty of PHP drivers for Headless Chrome?