Scripts are failing with Chrome Headless browser

Katalon scripts are failing with Chrome (headless) browser. But same script passed with Chorome browse. Can any one help in this.

without seeing the actual script or the error it is throwing we can’t say much, but in general, when you do a physical click on something(using the Robot class) in some step, then it will definitely fail in headless execution, if the failing is not the result of a Robot event, then we need to see the failing script to provide better feedback