yes, that was what i wanted…
i think you are trying to get text in div by using getAttribute?
something like:
WebUI.getAttribute(TO, 'text')
is actually looking for attribute named text and will return ‘myText’ in following case:
<div text='myText'>Content Text</div>
to get ‘Content Text’ use
WebUI.getText(TO)