fellows!
I'm trying to get a the text which is recognized in the developer tool of chrome, but once I run the test in Robot Framework I'm getting an error. The code used is:
${name}= Get Text xpath://tr[1]/td[1]/text()
As a work around I did this:
${obj_name}= Get Text xpath://tr[1]/td[1]
${obj_name_fd}= Get Text xpath://tr[1]/td[1]/mat-icon
${obj_name}= Replace String ${obj_name} ${obj_name_fd} ${EMPTY}
I did get "xpath://tr[1]/td[1]" which returns all the text in it: "auto_async_blah_blah_blah".
Tha tag "td/" contains the tag "mat-icon/" with the text "file_download" and also the pure text "auto_async_blah_blah_blah" (without a tag... as [img][2]). So as a result I have:
"file_download auto_async_blah_blah_blah"
Then I get the "xpath://tr[1]/td[1]/mat-icon" and replace it for ${EMPTY}, in order to keep only "auto_async_blah_blah_blah".