How can we execute test cases in headless mode?

Can you please help me how can we execute our test cases in headless mode?

Hi Richard,

Yes, of course, you just need to add the below capability in your code:

capabilities.setCapability("headless",true);