Can`t set text in TetxBox. it works normal only in ChromeHeadLess mode

Katalon = V6.3.3
browser = Chrome 79.0.3945.88
platform = Windows 8.1
seleniumVersion = 3.141.59

XPATH of object = //div[@role = ‘textbox’]

WebUI.setText(findTestObject(‘some way’), TEXT)}

MY RESULTS OF EXECUTING IN DIFFERENT CASES:
V1. Chrome: 20Set + 20notSet (but textBox exist=true)
V2.Chrome+RefreshPage: 20Set + 10 notSet
V3.ChromeHeadLess + RefreshPage: 20Set+0NotSet

HOW CAN I GET NORMAL EXECUTING IN V1 ?

This sounds like a timing issue. Try adding the following before you set the text:

WebUI.waitForElementVisible(findTestObject(‘some way’), 30)

yes, it is true

Is your issue resolved?

Yes, thanks to everybody

1 Like