Last active
December 30, 2015 01:09
-
-
Save Khrol/7754726 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| public boolean verifyButtonDisplayed() { | |
| WebElement button = driver.findElement(By.name("fancy-button")); | |
| assertTrue(button.isDisplayed(), "Button is not displayed"); | |
| return button.isDisplayed(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment