Class RelativeLocator.RelativeBy
- java.lang.Object
-
- org.openqa.selenium.By
-
- org.openqa.selenium.support.locators.RelativeLocator.RelativeBy
-
- Enclosing class:
- RelativeLocator
public static class RelativeLocator.RelativeBy extends org.openqa.selenium.By
-
-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelativeLocator.RelativeBy
above(org.openqa.selenium.By locator)
RelativeLocator.RelativeBy
above(org.openqa.selenium.WebElement element)
RelativeLocator.RelativeBy
below(org.openqa.selenium.By locator)
RelativeLocator.RelativeBy
below(org.openqa.selenium.WebElement element)
java.util.List<org.openqa.selenium.WebElement>
findElements(org.openqa.selenium.SearchContext context)
RelativeLocator.RelativeBy
near(org.openqa.selenium.By locator)
RelativeLocator.RelativeBy
near(org.openqa.selenium.By locator, int atMostDistanceInPixels)
RelativeLocator.RelativeBy
near(org.openqa.selenium.WebElement element)
RelativeLocator.RelativeBy
near(org.openqa.selenium.WebElement element, int atMostDistanceInPixels)
RelativeLocator.RelativeBy
toLeftOf(org.openqa.selenium.By locator)
RelativeLocator.RelativeBy
toLeftOf(org.openqa.selenium.WebElement element)
RelativeLocator.RelativeBy
toRightOf(org.openqa.selenium.By locator)
RelativeLocator.RelativeBy
toRightOf(org.openqa.selenium.WebElement element)
-
-
-
Method Detail
-
above
public RelativeLocator.RelativeBy above(org.openqa.selenium.WebElement element)
-
above
public RelativeLocator.RelativeBy above(org.openqa.selenium.By locator)
-
below
public RelativeLocator.RelativeBy below(org.openqa.selenium.WebElement element)
-
below
public RelativeLocator.RelativeBy below(org.openqa.selenium.By locator)
-
toLeftOf
public RelativeLocator.RelativeBy toLeftOf(org.openqa.selenium.WebElement element)
-
toLeftOf
public RelativeLocator.RelativeBy toLeftOf(org.openqa.selenium.By locator)
-
toRightOf
public RelativeLocator.RelativeBy toRightOf(org.openqa.selenium.WebElement element)
-
toRightOf
public RelativeLocator.RelativeBy toRightOf(org.openqa.selenium.By locator)
-
near
public RelativeLocator.RelativeBy near(org.openqa.selenium.WebElement element)
-
near
public RelativeLocator.RelativeBy near(org.openqa.selenium.WebElement element, int atMostDistanceInPixels)
-
near
public RelativeLocator.RelativeBy near(org.openqa.selenium.By locator)
-
near
public RelativeLocator.RelativeBy near(org.openqa.selenium.By locator, int atMostDistanceInPixels)
-
findElements
public java.util.List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)
- Specified by:
findElements
in classorg.openqa.selenium.By
-
-