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

    Constructors
    Constructor
    Description
    ByChained(org.openqa.selenium.By[] bys)
    Finds elements that matches each of the locators in sequence.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.openqa.selenium.WebElement
    findElement(org.openqa.selenium.SearchContext context)
     

    Methods inherited from class org.openqa.selenium.support.pagefactory.ByChained

    findElements, toString

    Methods inherited from class org.openqa.selenium.By

    className, cssSelector, equals, getJavascriptExecutor, getWebDriver, hashCode, id, linkText, name, partialLinkText, tagName, xpath

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 of By which forms the chain of the searching.
  • Method Details

    • findElement

      public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)
      Overrides:
      findElement in class org.openqa.selenium.support.pagefactory.ByChained