How to run headless test for Emulators or Simulators in Appium?

capabilities.setCapability("isHeadless", true);

Set this capability to true to run emulators or simulators in headless mode. This means that the UI will not be displayed and does not need to be rendered.

For iOS, this is only supported in XCode version 9 and later. All running instances of the simulator UI will be terminated when a headless test is started.


Leave a Reply

Your email address will not be published. Required fields are marked *