This small post will show how to set the chromedriver in non-headless mode using a WM option instead of e.g. a driver option. This is sometimes useful when running tests in an IDE like IntelliJ
-Dwebdriver.chrome.headless=false
Tested on Chrome webdriver v78.0.3904.70 and IntelliJ v2019.3
0 Comments.