Fixing issue where the tabs were not loading in monitor infra on
firefox. 
context.innerText is not supported by firefox replacing with the
.text().