I have a span element in the dom structure
1209043473
I tried every method like textContent(),innerText(),innerHTML(), etc but couldn’t get the visible text
Getting timeouterror: locator.innerText: timeout 50000ms exceeded
waiting for locator(‘span[data-test-id=”20150102041453079138117″]’)
Need to get the visible text from the attribute