I'm trying to return the text 'My name is' from this code. The text can change so I can't use it in the element locator.
<span class="tabComboBoxName" id="tab-ui-id-1607647" aria-hidden="true">My name is</span>
My ultimate goal is to compare this text to a variable which I have figured out, but first I need to extract the text.
Any idea on how to proceed?