Class ByAngular.BaseBy

    • 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 
      Modifier Constructor Description
      protected BaseBy​(String rootSelector)  
    • Field Detail

      • rootSelector

        protected final String rootSelector
    • Constructor Detail

      • BaseBy

        protected BaseBy​(String rootSelector)
    • Method Detail

      • getJavascriptExecutor

        protected final org.openqa.selenium.JavascriptExecutor getJavascriptExecutor​(org.openqa.selenium.SearchContext context)
        Overrides:
        getJavascriptExecutor in class org.openqa.selenium.By
      • errorIfNull

        protected final Object errorIfNull​(Object o)
      • findElement

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

        protected abstract Object getObject​(org.openqa.selenium.SearchContext context,
                                            org.openqa.selenium.JavascriptExecutor javascriptExecutor)
      • findElements

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