Class ByChained
java.lang.Object
org.openqa.selenium.By
org.openqa.selenium.support.pagefactory.ByChained
io.appium.java_client.pagefactory.bys.builder.ByChained
- All Implemented Interfaces:
Serializable
public class ByChained
extends org.openqa.selenium.support.pagefactory.ByChained
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class 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, org.openqa.selenium.By.Remotable -
Constructor Summary
ConstructorsConstructorDescriptionByChained(org.openqa.selenium.By[] bys) Finds elements that matches each of the locators in sequence. -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebElementfindElement(org.openqa.selenium.SearchContext context) Methods inherited from class org.openqa.selenium.support.pagefactory.ByChained
findElements, toStringMethods inherited from class org.openqa.selenium.By
className, cssSelector, equals, getJavascriptExecutor, getWebDriver, hashCode, id, linkText, name, partialLinkText, tagName, xpath
-
Constructor Details
-
ByChained
public ByChained(org.openqa.selenium.By[] bys) Finds elements that matches each of the locators in sequence.- Parameters:
bys- is a set ofBywhich forms the chain of the searching.
-
-
Method Details
-
findElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context) - Overrides:
findElementin classorg.openqa.selenium.support.pagefactory.ByChained
-