Selenium Java - Page Object Model
Consider this Base Page method:
What is a potential problem with this implementation?
public boolean checkElementVisible(By locator) {
try {
WebElement element = driver.findElement(locator);
return element.isDisplayed();
} catch (Exception e) {
return false;
}
}What is a potential problem with this implementation?
