Skip to content

Instantly share code, notes, and snippets.

@ova2
Created August 27, 2016 13:57
Show Gist options
  • Save ova2/70c6861815b2f414a82cf62a7f0f57eb to your computer and use it in GitHub Desktop.
Save ova2/70c6861815b2f414a82cf62a7f0f57eb to your computer and use it in GitHub Desktop.
/**
* Path of the URL without the context root for this page.
*
* @return String path of the URL
*/
protected abstract String getUrlPath();
/***
* Specific check which has to be implemented by every page object.
* A rudimentary check on the basis of URL is undertaken by the super class.
* This method is doing an extra check if the page has been proper loaded.
*
* @throws Error thrown when the check fails
*/
protected abstract void isPageLoaded() throws Error;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment