Skip to content
This repository has been archived by the owner on Jun 28, 2019. It is now read-only.

Commit

Permalink
removed deprecated function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Collin committed Apr 4, 2012
1 parent 0b82754 commit 1ee2dc2
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -201,11 +201,6 @@ public boolean isElementStale(WebElement element) {
}
//TODO end

@Deprecated
public boolean isElementPresent(By locator) {
return doesElementExist(locator);
}

public boolean doesElementExist(By locator) {
if (driver.findElements(locator).size() > 0) {
return true;
Expand Down

0 comments on commit 1ee2dc2

Please sign in to comment.