Class RelativeLocator.RelativeBy
java.lang.Object
org.openqa.selenium.By
org.openqa.selenium.support.locators.RelativeLocator.RelativeBy
- All Implemented Interfaces:
org.openqa.selenium.By.Remotable
- Enclosing class:
- RelativeLocator
public static class RelativeLocator.RelativeBy
extends org.openqa.selenium.By
implements org.openqa.selenium.By.Remotable
-
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
-
Method Summary
Modifier and TypeMethodDescriptionabove
(org.openqa.selenium.By locator) above
(org.openqa.selenium.WebElement element) below
(org.openqa.selenium.By locator) below
(org.openqa.selenium.WebElement element) List<org.openqa.selenium.WebElement>
findElements
(org.openqa.selenium.SearchContext context) org.openqa.selenium.By.Remotable.Parameters
near
(org.openqa.selenium.By locator) near
(org.openqa.selenium.By locator, int atMostDistanceInPixels) near
(org.openqa.selenium.WebElement element) near
(org.openqa.selenium.WebElement element, int atMostDistanceInPixels) toLeftOf
(org.openqa.selenium.By locator) toLeftOf
(org.openqa.selenium.WebElement element) toRightOf
(org.openqa.selenium.By locator) toRightOf
(org.openqa.selenium.WebElement element) Methods inherited from class org.openqa.selenium.By
className, cssSelector, equals, findElement, getJavascriptExecutor, getWebDriver, hashCode, id, linkText, name, partialLinkText, tagName, toString, xpath
-
Method Details
-
above
-
above
-
below
-
below
-
toLeftOf
-
toLeftOf
-
toRightOf
-
toRightOf
-
near
-
near
public RelativeLocator.RelativeBy near(org.openqa.selenium.WebElement element, int atMostDistanceInPixels) -
near
-
near
-
findElements
- Specified by:
findElements
in classorg.openqa.selenium.By
-
getRemoteParameters
public org.openqa.selenium.By.Remotable.Parameters getRemoteParameters()- Specified by:
getRemoteParameters
in interfaceorg.openqa.selenium.By.Remotable
-