public static class FluentBy.ByAttribute extends FluentBy
FluentBy.ByAttribute, FluentBy.NotByAttributeorg.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 java.lang.String |
name |
| Constructor and Description |
|---|
ByAttribute(java.lang.String name,
java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.SearchContext context) |
java.util.List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.SearchContext context) |
protected java.lang.String |
nameAndValue() |
java.lang.String |
toString() |
attribute, attribute, beforeFindElement, composite, composite, last, last, notAttribute, strictClassNamepublic org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)
findElement in class org.openqa.selenium.Byprotected java.lang.String nameAndValue()
public java.util.List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)
findElements in class org.openqa.selenium.Bypublic java.lang.String toString()
toString in class org.openqa.selenium.ByCopyright © 2017. All Rights Reserved.