This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.openqa.selenium.By; | |
import org.openqa.selenium.NoSuchElementException; | |
import org.openqa.selenium.WebDriver; | |
public class DisplayUtil { | |
/** | |
* If exception occurs the element can't be visible | |
* | |
*/ | |
public static boolean isDisplayed(final WebDriver driver, final By by) { |