How to clear() input fields in web?

WebUI.sendKeys(findTestObject(‘Object location’), Keys.chord(Keys.CONTROL, ‘a’))
WebUI.sendKeys(findTestObject(‘Object location’), Keys.chord(Keys.BACK_SPACE))
This works for me, imitates “select all” and “delete” commands…

11 Likes