Class ByJQuerySelector
- java.lang.Object
-
- org.openqa.selenium.By
-
- net.thucydides.core.webdriver.jquery.ByJQuerySelector
-
public class ByJQuerySelector 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
-
-
Constructor Summary
Constructors Constructor Description ByJQuerySelector(String selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.WebElement
findElement(org.openqa.selenium.SearchContext context)
List<org.openqa.selenium.WebElement>
findElements(org.openqa.selenium.SearchContext context)
String
toString()
-
-
-
Constructor Detail
-
ByJQuerySelector
public ByJQuerySelector(String selector)
-
-
Method Detail
-
findElements
public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)
- Specified by:
findElements
in classorg.openqa.selenium.By
-
findElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)
- Overrides:
findElement
in classorg.openqa.selenium.By
-
toString
public String toString()
- Overrides:
toString
in classorg.openqa.selenium.By
-
-