Could you explain the differences between **stalenessOf **vs **invisibilityOf **?
Both checked if element invisible/no attached to the DOM. And can’t understand when should implement one instead of other
wait.until(ExpectedConditions.stalenessOf(element));
wait.until(ExpectedConditions.invisibilityOf(element));
both passes when element is disappeared
New contributor
Alex Blade is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.