[java] Deleting deprecated methods
@@ -364,21 +364,6 @@ public String toString() {
};
}
- /**
- * An expectation for checking if the given text is present in the element that matches the given
- * locator.
- *
- * @param locator used to find the element
- * @param text to be present in the element found by the locator
- * @return the WebElement once it is located and visible
- * @deprecated Use {@link #textToBePresentInElementLocated(By, String)} instead
- */
- @Deprecated
- public static ExpectedCondition<Boolean> textToBePresentInElement(final By locator,
- final String text) {
- return textToBePresentInElementLocated(locator, text);
- }
-
/**
* An expectation for checking if the given text is present in the element that matches the given
* locator.
@@ -831,14 +816,6 @@ public String toString() {
};
}
- /**
- * @deprecated please use {@link #numberOfWindowsToBe(int)} instead
- */
- @Deprecated
- public static ExpectedCondition<Boolean> numberOfwindowsToBe(final int expectedNumberOfWindows) {
- return numberOfWindowsToBe(expectedNumberOfWindows);
- }
-
public static ExpectedCondition<Boolean> numberOfWindowsToBe(final int expectedNumberOfWindows) {
return new ExpectedCondition<Boolean>() {
@Override
