kgress / scaffold

A Java based Selenium WebDriver abstraction
MIT License
4 stars 7 forks source link

feat: isOnPage() does not contain logic to fail test when result is f… #77

Closed kgress-heb closed 4 years ago

kgress-heb commented 4 years ago

Summary This PR updates the BasePage with a new method, verifyIsOnPage(AbstractWebElement... element). This new method will wait for the DOM ready state to be complete, check for elements on the page to be displayed, and then return a Boolean status of true if it successfully loaded and found the elements.

Changes

Closes out #74

kgress-heb commented 4 years ago

pushed a small update fixing a typo and an error message