Class ByJQuery
java.lang.Object
org.openqa.selenium.By
org.jboss.arquillian.graphene.findby.ByJQuery
public class ByJQuery
extends org.openqa.selenium.By
Allows to search for elements using jQuery selector location strategy.
- Author:
- Juraj Huska
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classLocation strategy for searching for elements using jQuery selectorsNested 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) static ByJQueryInstantiates new locator with given jQuery selectortoString()Methods inherited from class org.openqa.selenium.By
className, cssSelector, equals, getJavascriptExecutor, getWebDriver, hashCode, id, linkText, name, partialLinkText, tagName, xpath
-
Constructor Details
-
ByJQuery
Instantiates new locator with given jQuery selector- Parameters:
selector- the jQuery selector
-
-
Method Details
-
selector
Instantiates new locator with given jQuery selector- Parameters:
selector- the jQuery selector
-
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
-