public abstract class ByVisibleText
extends org.openqa.selenium.By
org.openqa.selenium.By.ByClassName, org.openqa.selenium.By.ByCssSelector, org.openqa.selenium.By.ById, org.openqa.selenium.By.ByLinkText, org.openqa.selenium.By.ByName, org.openqa.selenium.By.ByPartialLinkText, org.openqa.selenium.By.ByTagName, org.openqa.selenium.By.ByXPath| Modifier and Type | Field and Description |
|---|---|
protected String[] |
filter |
protected boolean |
pattern |
| Constructor and Description |
|---|
ByVisibleText(String... filter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.SearchContext context) |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.SearchContext context) |
abstract List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.SearchContext context,
List<String> lines) |
String[] |
getFilter() |
protected List<String> |
lines() |
String |
toString() |
static ByVisibleText |
visibleText(String... filter) |
static ByVisibleText |
visibleTextPattern(String regex) |
protected String[] filter
protected boolean pattern
public ByVisibleText(String... filter)
public static ByVisibleText visibleText(String... filter)
public static ByVisibleText visibleTextPattern(String regex)
public String toString()
toString in class org.openqa.selenium.Bypublic String[] getFilter()
public abstract List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context, List<String> lines)
public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)
findElements in class org.openqa.selenium.Bypublic org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)
findElement in class org.openqa.selenium.Bypublic boolean equals(Object o)
equals in class org.openqa.selenium.ByCopyright © 2019 Automation RockStars. All rights reserved.