Class ByClassNameAndIndex

java.lang.Object
org.openqa.selenium.By
org.openqa.selenium.By.ByXPath
com.codeborne.selenide.appium.selector.ByClassNameAndIndex
All Implemented Interfaces:
org.openqa.selenium.By.Remotable

public class ByClassNameAndIndex extends org.openqa.selenium.By.ByXPath
  • 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

    Nested classes/interfaces inherited from interface org.openqa.selenium.By.Remotable

    org.openqa.selenium.By.Remotable.Parameters
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final String
     
    protected final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ByClassNameAndIndex(String className, int index)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.openqa.selenium.WebElement
    findElement(org.openqa.selenium.SearchContext arg0)
     
    List<org.openqa.selenium.WebElement>
    findElements(org.openqa.selenium.SearchContext arg0)
     
    final org.openqa.selenium.By.Remotable.Parameters
     
    protected final Map<String,Object>
     
     

    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
  • Field Details

    • className

      protected final String className
    • index

      protected final int index
  • Constructor Details

    • ByClassNameAndIndex

      public ByClassNameAndIndex(String className, int index)
  • Method Details

    • toString

      @CheckReturnValue @Nonnull public String toString()
      Overrides:
      toString in class org.openqa.selenium.By.ByXPath
    • findElement

      public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext arg0)
      Overrides:
      findElement in class org.openqa.selenium.By
    • findElements

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

      public final org.openqa.selenium.By.Remotable.Parameters getRemoteParameters()
      Specified by:
      getRemoteParameters in interface org.openqa.selenium.By.Remotable
    • toJson

      protected final Map<String,Object> toJson()