I want to verify this text appears on a web page, should be easy:
<div _ngcontent-ng-cli-universal-c98="" class="figure-caption">MY-IMG-TEXT</div>
This is the script:
Sleep 10s Wait Until Page Contains MY-IMG-TEXT
…but I’m getting: fail even though the text is there on the screenshot
FAIL Message: Text ‘MY-IMG-TEXT’ did not appear in 5 seconds.
The App is written in Angular 12 but other elements are being detected ok. I’m not using any particular Angular library and don’t really want to have to install custom one if possible.
Python 3.7.8 requests 2.26.0 robotframework 4.1.1 robotframework-extendedrequestslibrary 0.5.5 robotframework-pythonlibcore 3.0.0 robotframework-seleniumlibrary 5.1.3 selenium 4.0.0 urllib3 1.26.7