So i want to wait until page load using Selenium
.
This is my implementation:
public static boolean isPageLoad(String url) {
try {
new WebDriverWait(driver, 30).until(ExpectedConditions.urlToBe(url));
return true;
} catch (Exception ex) {
return false;
}
}
So do you think this should be enough or i need maybe to add another check for example search also the body
tag ?