public class ContentMappedBy
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| Constructor and Description |
|---|
ContentMappedBy(java.util.Map<ContentType,org.openqa.selenium.By> map) |
| Modifier and Type | Method and Description |
|---|---|
WebElement |
findElement(SearchContext context) |
java.util.List<WebElement> |
findElements(SearchContext context) |
java.lang.String |
toString() |
org.openqa.selenium.By |
useContent(ContentType type)
This method sets required content type for the further searching.
|
public ContentMappedBy(java.util.Map<ContentType,org.openqa.selenium.By> map)
public org.openqa.selenium.By useContent(@Nonnull
ContentType type)
type - required content type ContentTypepublic WebElement findElement(SearchContext context)
findElement in class org.openqa.selenium.Bypublic java.util.List<WebElement> findElements(SearchContext context)
findElements in class org.openqa.selenium.Bypublic java.lang.String toString()
toString in class org.openqa.selenium.By