In Console Mode Chrome headless, objects are not getting detected and tests are getting failed

2019-10-09 00:25:23.205 INFO c.k.k.core.webui.driver.DriverFactory - sessionId = cc2dd34f69122a100788a572ca970e76
2019-10-09 00:25:23.225 INFO c.k.k.core.webui.driver.DriverFactory - browser = Chrome 77.0.3865.90
2019-10-09 00:25:23.227 INFO c.k.k.core.webui.driver.DriverFactory - platform = Windows 10
2019-10-09 00:25:23.227 INFO c.k.k.core.webui.driver.DriverFactory - seleniumVersion = 3.141.59
2019-10-09 00:25:23.228 INFO c.k.k.core.webui.driver.DriverFactory - proxyInformation = ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}


Test Suites/Smoke_Test_Suite - Chrome (headless) - 20191009_002513…0/6(0%)

2019-10-09 00:25:40.272 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-10-09 00:25:40.272 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/Login Scenarios/Login to application with valid credentials
2019-10-09 00:25:40.506 DEBUG in to application with valid credentials - 1: waitForPageLoad(3)
2019-10-09 00:25:40.601 DEBUG in to application with valid credentials - 2: click(findTestObject(“Home Page Objects/Home Page Login Objects/btn_Login”))
2019-10-09 00:25:40.854 DEBUG in to application with valid credentials - 3: setText(findTestObject(“Home Page Objects/Home Page Login Objects/input_Username”, [“username”:“popUserName”]), G_UserName)
2019-10-09 00:25:41.616 ERROR c.k.k.core.keyword.internal.KeywordMain - ? Unable to set text ‘potben’ of object ‘Object Repository/Home Page Objects/Home Page Login Objects/input_Username’ (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to set text ‘potben’ of object ‘Object Repository/Home Page Objects/Home Page Login Objects/input_Username’
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.SetTextKeyword.setText(SetTextKeyword.groovy:66)
at com.kms.katalon.core.webui.keyword.builtin.SetTextKeyword.execute(SetTextKeyword.groovy:37)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.setText(WebUiBuiltInKeywords.groovy:950)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$setText$4.call(Unknown Source)
at Login to application with valid credentials.run(Login to application with valid credentials:20)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestCaseMainPhase(TestSuiteExecutor.java:169)
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:142)
at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:91)
at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:157)
at com.kms.katalon.core.main.TestCaseMain$startTestSuite$0.call(Unknown Source)
at TempTestSuite1570560913701.run(TempTestSuite1570560913701.groovy:35)
Caused by: org.openqa.selenium.ElementNotInteractableException: element not interactable
(Session info: headless chrome=77.0.3865.90)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘DESKTOP-K3GQ1P6’, ip: ‘192.168.225.213’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 77.0.3865.90, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0…, userDataDir: C:\Users\LOKESH~1.KUM\AppDa…}, goog:chromeOptions: {debuggerAddress: localhost:3531}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}

Above is the sample log for reference.

Note - My Test suite is getting executed successfully in Non-Console mode but when trying to execute in console for both Chrome Headless & Chrome scripts are not able to identify the objects.

I have tried all the possible solutions which was found while browsing.

  1. Update webdrivers - --config -webui.autoUpdateDrivers=true
  2. Tools->Update webdrivers
  3. Update katalon version(My current version is 6.3.3)

Chrome headless mode is mandatory for me to run tests in pipeline.

Pleaseee do needful…

If any additional info is required then please let me know