My apologies in advance if my question sounds primary, I am very new at QA and Selenium.
What is the exact difference between:
wait.until(ExpectedConditions.visibilityOfElementLocated
(By.xpath("//a[text()='Show advanced settings...']"))).click();
and
wait.until(ExpectedConditions.presenceOfElementLocated
(By.xpath("//a[text()='Show advanced settings...']"))).click();
I had a look at here but did not figure it out.
See Question&Answers more detail:os