Headless chrome not found element (a modal)

When I’m executing with Chrome opening navigator… all execution is ok. But I when executing in Headless chrome …
Katalon show this message of error…
[Unable to verify object ‘Object Repository/Pages/Mantenedor/DetallesEstrategias/Modales/modal-info’ is present (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object ] Repository/Pages/Mantenedor/DetallesEstrategias/Modales/modal-info’ located by ‘By.xpath: //div[@id = ‘info-modal’]’ not found)
This is code …where is the problem…**

TestObject modalSaveStrategy = ObjectRepository.findTestObject(“Object Repository/Pages/Mantenedor/DetallesEstrategias/Modales/modal-info”) ← this is element that is not found **

TestObject modalSaveStrategyEdit = ObjectRepository.findTestObject(“Object Repository/Pages/Mantenedor/Modales/modal_exito_edit”)

TestObject btnSaveStrategy = ObjectRepository.findTestObject(“Object Repository/Pages/Mantenedor/DetallesEstrategias/button_save_strategy”)

if(WebUI.verifyElementPresent(btnSaveStrategy, 5)){



if(action==“Insert” || action==“InsertCP”){

if(WebUI.verifyElementPresent(modalSaveStrategy, 5)) { <== here is the problem


KeywordUtil.markPassed("Estrategia insertada : " + strategy.name)



Please helme …
Sorry for my bad english, not is my native language …

Same Scenario but different issue for me …

Version :
Katalon Studio
Version: 5.10.1
Build: 1

Steps to Produce : Chrome Headless Count

Can launch the Chrome successfully but when we give Set Text(Login) or Password , its not working followed by the whole code .

below is the error Message

04-24-2019 01:28:15 PM setText(findTestObject(“Object Repository/Page_SAP Commissions/input_Username_username”), “Mikky”)

Elapsed time: 1m - 3.840s

Unable to set text ‘Mikky’ of object ‘Object Repository/Page_SAP Commissions/input_Username_username’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Page_SAP Commissions/input_Username_username’ located by ‘By.xpath: //input[@name=‘username’]’ not found)

Note:The Same Code working fine when using default as Chrome browser.

Thanks in Advance

With Regards,
Mikky …!