Package software.xdev.selenium.elements
Class ByAnd
java.lang.Object
org.openqa.selenium.By
software.xdev.selenium.elements.ByAnd
public class ByAnd
extends org.openqa.selenium.By
Chains multiple
Bys together.-
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebElementfindElement(org.openqa.selenium.SearchContext context) List<org.openqa.selenium.WebElement>findElements(org.openqa.selenium.SearchContext context) toString()Methods inherited from class org.openqa.selenium.By
className, cssSelector, equals, getJavascriptExecutor, getWebDriver, hashCode, id, linkText, name, partialLinkText, tagName, xpath
-
Constructor Details
-
ByAnd
public ByAnd(org.openqa.selenium.By... bys)
-
-
Method Details
-
findElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context) - Overrides:
findElementin classorg.openqa.selenium.By
-
findElements
- Specified by:
findElementsin classorg.openqa.selenium.By
-
toString
- Overrides:
toStringin classorg.openqa.selenium.By
-