Class ByAll

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated
    public class ByAll
    extends org.openqa.selenium.support.pagefactory.ByAll
    Deprecated.
    Use ByAll
    Mechanism used to locate elements within a document using a series of lookups. This class will find all DOM elements that matches any of the locators in sequence, e.g.
     driver.findElements(new ByAll(by1, by2))
     
    will find all elements that match by1 and then all elements that match by2. This means that the list of elements returned may not be in document order.
    See Also:
    Serialized Form
    • 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
      ByAll​(org.openqa.selenium.By[] bys)
      Deprecated.
      Finds all elements that matches any of the locators in sequence.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.openqa.selenium.WebElement findElement​(org.openqa.selenium.SearchContext context)
      Deprecated.
       
      • Methods inherited from class org.openqa.selenium.support.pagefactory.ByAll

        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 Detail

      • ByAll

        public ByAll​(org.openqa.selenium.By[] bys)
        Deprecated.
        Finds all elements that matches any of the locators in sequence.
        Parameters:
        bys - is a set of By which forms the all possible searching.
    • Method Detail

      • findElement

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