Katalon CI help

chromeDriver was started successfully.
--------------------------------------------------------------------------------
Test Suites/Generic_Test_Cases/App_Flow - Chrome (headless) - 20200818_140443…
…0/19(0%)
--------------------------------------------------------------------------------
[1597759503.966][WARNING]: This version of ChromeDriver has not been tested with Chrome version 84.
Aug 18, 2020 2:05:04 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
2020-08-18 14:05:04.787 INFO c.k.k.core.webui.driver.DriverFactory - sessionId = b4188bdbc5ba14ea92042ffee51848ee
2020-08-18 14:05:04.845 INFO c.k.k.core.webui.driver.DriverFactory - browser = Chrome 84.0.4147.105
2020-08-18 14:05:04.851 INFO c.k.k.core.webui.driver.DriverFactory - platform = Linux
2020-08-18 14:05:04.854 INFO c.k.k.core.webui.driver.DriverFactory - seleniumVersion = 3.141.59
2020-08-18 14:05:04.869 INFO c.k.k.core.webui.driver.DriverFactory - proxyInformation = ProxyInformation { proxyOption=NO_PROXY, proxyServerType=HTTP, username=, password=****, proxyServerAddress=, proxyServerPort=0, executionList="", isApplyToDesiredCapabilities=true }
2020-08-18 14:05:04.911 DEBUG testcase.11.0 Open Browser - 2: navigateToUrl(base_URL)
2020-08-18 14:05:11.560 DEBUG testcase.11.0 Open Browser - 3: maximizeWindow()
--------------------------------------------------------------------------------
Test Suites/Generic_Test_Cases/App_Flow - Chrome (headless) - 20200818_140443…
…0/19(0%)
--------------------------------------------------------------------------------
2020-08-18 14:05:13.836 INFO c.k.k.c.c.internal.VideoRecorderService - Video recording for test case ‘Test Cases/Generic Test Cases/11.0 Open Browser’ .
Video recording for test case ‘Test Cases/Generic Test Cases/11.0 Open Browser’ .
2020-08-18 14:05:13.850 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/Generic Test Cases/11.0 Open Browser
2020-08-18 14:05:13.872 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2020-08-18 14:05:13.873 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/Generic Test Cases/13.0 Inscription/ChoisirOffre
Start recording video for test case ‘Test Cases/Generic Test Cases/13.0 Inscription/ChoisirOffre’.
2020-08-18 14:05:14.530 DEBUG testcase.ChoisirOffre - 1: navigateToUrl(base_URL + “inscription/” + “offres”)
2020-08-18 14:05:15.609 DEBUG testcase.ChoisirOffre - 2: click(findTestObject(“Generic Test Object/12.0 InscriptionCompte/ChoisirOffre/VoirlesOffre”))
--------------------------------------------------------------------------------
Test Suites/Generic_Test_Cases/App_Flow - Chrome (headless) - 20200818_140443…
…1/19(5%)
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Test Suites/Generic_Test_Cases/App_Flow - Chrome (headless) - 20200818_140443…
…1/19(5%)
--------------------------------------------------------------------------------
2020-08-18 14:05:46.878 INFO c.k.k.c.webui.common.WebUiCommonHelper - Unable to find the element located by ‘By.xpath: (//[@class=‘btn btn-primary’])[2]’. Please recheck the objects properties to make sure the desired element is located.
2020-08-18 14:05:46.882 WARN c.k.k.c.webui.common.WebUiCommonHelper - [SELF-HEALING] Failed to find element with id ‘Object Repository/Generic Test Object/12.0 InscriptionCompte/ChoisirOffre/VoirlesOffre’. Try using Self-healing.
2020-08-18 14:05:47.924 INFO c.k.k.c.webui.common.WebUiCommonHelper - [SELF-HEALING] No working XPath is found.
2020-08-18 14:05:48.950 INFO c.k.k.c.webui.common.WebUiCommonHelper - Unable to find the element located by 'By.xpath: '. Please recheck the objects properties to make sure the desired element is located.
2020-08-18 14:05:48.978 WARN c.k.k.c.webui.common.WebUiCommonHelper - [SELF-HEALING] Cannot find elements when the selector is null
2020-08-18 14:05:49.401 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to click on object ‘Object Repository/Generic Test Object/12.0 InscriptionCompte/ChoisirOffre/VoirlesOffre’ (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to click on object ‘Object Repository/Generic Test Object/12.0 InscriptionCompte/ChoisirOffre/VoirlesOffre’
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.ClickKeyword.click(ClickKeyword.groovy:76)
at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.execute(ClickKeyword.groovy:43)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:73)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.click(WebUiBuiltInKeywords.groovy:616)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$click$2.call(Unknown Source)
at ChoisirOffre.run(ChoisirOffre: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:339)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:330)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:309)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:301)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:235)
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestCaseMainPhase(TestSuiteExecutor.java:191)
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:141)
at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:90)
at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:157)
at com.kms.katalon.core.main.TestCaseMain$startTestSuite$0.call(Unknown Source)
at TempTestSuite1597759483097.run(TempTestSuite1597759483097.groovy:39)
Caused by: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Generic Test Object/12.0 InscriptionCompte/ChoisirOffre/VoirlesOffre’ located by '(//
[@class=‘btn btn-primary’])[2]’ not found
at com.kms.katalon.core.webui.common.WebUiCommonHelper.findWebElement(WebUiCommonHelper.java:1368)
at com.kms.katalon.core.webui.keyword.internal.WebUIAbstractKeyword.findWebElement(WebUIAbstractKeyword.groovy:27)
at com.kms.katalon.core.webui.keyword.internal.WebUIAbstractKeyword.findWebElement(WebUIAbstractKeyword.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword$_click_closure1.doCall(ClickKeyword.groovy:67)
at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword$_click_closure1.call(ClickKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.click(ClickKeyword.groovy:76)
at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.execute(ClickKeyword.groovy:43)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:73)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.click(WebUiBuiltInKeywords.groovy:616)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$click$2.call(Unknown Source)
at Script1596799305922.run(Script1596799305922.groovy:20)
… 13 more

It is working fine in normal chrome and chrome headless[ when running from KRE] but failing in gitlab.

I am wondering if its same issue as Cannot find elements when XPath expression is null

@duyluong