I would like to verify that concrete text for example “hello” exists inside concrete element that has class “world”. So basically I would like verifyTextPresent to return true for such document:
<div class="world">
Hello
</div>
but return false for
<div>
Hello
</div>
I have experimented a little, for example something like
verifyTextPresent
target: css=.world
value: hello
but of course this did not work – the “hello” is normally inside “target”. Any ideas?
You should use
verifyText(select command by right-clicking on the specified element), like: