Weird things in console mode without GUI

Hi all
in a test suite, i’ve got the following process :

  • some actions
  • catch a value in a global variable
  • validation
  • open new page
  • check a value with the recorded one

in GUI mode, no problem
in console mode, with browsertype :Chrome headless , the value check is always ‘null’

i wait for element present => ok

WebUI.waitForElementPresent(findTestObject(‘CarSell/Affaires/En cours/Lbl - Soulte’), 10)

i wait for finished ajax call => ok


reading value is ok, no exception throws, but always a bad value…

if someone has an idea…?

i find the answer

with this arg, it’s work