I wonder if someone can help, as I can't work this out, I am wanting to use WebDriver Sampler in JMeter and am getting stuck working out a WaitForText
.
I want to wait for "Complete" in the element //tr[6]/td[2]/strong
, this is what I have, but it isn't working and I'm not sure why, hope someone can help:
wait.until("Complete".presenceOfElementLocated(By.xpath("//tr[6]/td[2]/strong")).getText())