Class WithTagAndText

java.lang.Object
org.openqa.selenium.By
org.openqa.selenium.By.ByXPath
com.codeborne.selenide.appium.selector.WithTagAndAttribute
com.codeborne.selenide.appium.selector.WithTagAndText
All Implemented Interfaces:
org.openqa.selenium.By.Remotable
Direct Known Subclasses:
WithText

public class WithTagAndText extends WithTagAndAttribute
  • 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 inherited from class com.codeborne.selenide.appium.selector.WithTagAndAttribute

    attributeName, attributeValue, tag
  • Constructor Summary

    Constructors
    Constructor
    Description
    WithTagAndText(String tag, String elementText)
     
  • 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 com.codeborne.selenide.appium.selector.WithTagAndAttribute

    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

    • WithTagAndText

      public WithTagAndText(String tag, String elementText)
  • Method Details

    • 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()