Skip to content

Instantly share code, notes, and snippets.

@mt1729
mt1729 / CustomExpectedConditions.java
Created September 23, 2016 23:51
Some Selenium/Appium helpers to use with PageFactory
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.StaleElementReferenceException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedCondition;
/**
* Define custom ExpectedConditions here.
*/
public final class CustomExpectedConditions {