I am able to set the text in normal chrome execution but not in headless?why?
The code is below:
//Designation WebUI.setText(findTestObject(to'),findTestData('path of data file').getValue(1,rowNum))
The xpath for TxtDesignation is : //*[@id=‘product_designation’]
The DOM is:
If the DOM element was not there it should have failed in normal browser execution.