My apologies in advance, if my question sounds primary, I am very new to QA and Selenium.
What's the 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 looked here , but did not understand.
source share