Class ByParentPartialId


  • public class ByParentPartialId
    extends org.openqa.selenium.By
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ByParentPartialId.ParentPartialIdLocationStrategy  
      • 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
    • Constructor Summary

      Constructors 
      Constructor Description
      ByParentPartialId​(String partialId, boolean searchFromRoot)  
    • Constructor Detail

      • ByParentPartialId

        public ByParentPartialId​(String partialId,
                                 boolean searchFromRoot)
    • Method Detail

      • findElements

        public List<org.openqa.selenium.WebElement> findElements​(org.openqa.selenium.SearchContext searchContext)
        Specified by:
        findElements in class org.openqa.selenium.By
      • findElement

        public org.openqa.selenium.WebElement findElement​(org.openqa.selenium.SearchContext context)
        Overrides:
        findElement in class org.openqa.selenium.By
      • toString

        public String toString()
        Overrides:
        toString in class org.openqa.selenium.By