SET TEXT returns empty value, but the step is marked as PASSED

Our discussion above proved that using JavaScript is one way to edit an HTML node with the attribute contenteditable="true".

Is the JavaScript the only way to achieve it?

I don’t think so. I found a post:

This Stackoverflow post is discussing that you can edit an HTML node with contenteditable="true" using ordinary WebUI.click, WebUI.clear and WebUI.sendKeys keywords. I’m not going to dig this any further. Anyone who is interested, please study and report the result back here, please.

2 Likes