I wish to achieve the
wait.until(ExpectedConditions.textToBePresentInElementLocated(By.xpath("//div[@id='timeLeft']"), "Time left: 7 seconds"));
function in c#, to wait for a text to appear. However, the textToBePresentInElementLocated()
is only available in java. Is there a simple way to achieve this in c# , waiting for text to appear on page?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…