|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of By in org.openqa.selenium |
---|
Methods in org.openqa.selenium that return By | |
---|---|
static By |
By.className(String className)
Finds elements based on the value of the "class" attribute. |
static By |
By.cssSelector(String selector)
Finds elements via the driver's underlying W3 Selector engine. |
static By |
By.id(String id)
|
static By |
By.linkText(String linkText)
|
static By |
By.name(String name)
|
static By |
By.partialLinkText(String linkText)
|
static By |
By.tagName(String name)
|
static By |
By.xpath(String xpathExpression)
|
Methods in org.openqa.selenium with parameters of type By | |
---|---|
WebElement |
WebElement.findElement(By by)
Find the first WebElement using the given method. |
WebElement |
SearchContext.findElement(By by)
Find the first WebElement using the given method. |
WebElement |
WebDriver.findElement(By by)
Find the first WebElement using the given method. |
List<WebElement> |
WebElement.findElements(By by)
Find all elements within the current context using the given mechanism. |
List<WebElement> |
SearchContext.findElements(By by)
Find all elements within the current context using the given mechanism. |
List<WebElement> |
WebDriver.findElements(By by)
Find all elements within the current page using the given mechanism. |
Uses of By in org.openqa.selenium.htmlunit |
---|
Methods in org.openqa.selenium.htmlunit with parameters of type By | |
---|---|
WebElement |
HtmlUnitWebElement.findElement(By by)
|
WebElement |
HtmlUnitDriver.findElement(By by)
|
List<WebElement> |
HtmlUnitWebElement.findElements(By by)
|
List<WebElement> |
HtmlUnitDriver.findElements(By by)
|
Uses of By in org.openqa.selenium.remote |
---|
Methods in org.openqa.selenium.remote with parameters of type By | |
---|---|
WebElement |
RemoteWebDriver.findElement(By by)
|
WebElement |
RemoteWebElement.findElement(By by)
|
List<WebElement> |
RemoteWebDriver.findElements(By by)
|
List<WebElement> |
RemoteWebElement.findElements(By by)
|
Uses of By in org.openqa.selenium.remote.server.handler |
---|
Methods in org.openqa.selenium.remote.server.handler that return By | |
---|---|
By |
BySelector.pickFrom(String method,
String selector)
|
By |
BySelector.pickFromJsonParameters(Map<String,Object> allParameters)
|
Uses of By in org.openqa.selenium.support |
---|
Subclasses of By in org.openqa.selenium.support | |
---|---|
class |
ByIdOrName
|
Uses of By in org.openqa.selenium.support.events |
---|
Methods in org.openqa.selenium.support.events with parameters of type By | |
---|---|
void |
WebDriverEventListener.afterFindBy(By by,
WebElement element,
WebDriver driver)
Called after WebDriver.findElement(...) ,
or WebDriver.findElements(...) ,
or WebElement.findElement(...) ,
or WebElement.findElements(...) . |
void |
AbstractWebDriverEventListener.afterFindBy(By by,
WebElement element,
WebDriver driver)
|
void |
WebDriverEventListener.beforeFindBy(By by,
WebElement element,
WebDriver driver)
Called before WebDriver.findElement(...) ,
or WebDriver.findElements(...) ,
or WebElement.findElement(...) ,
or WebElement.findElements(...) . |
void |
AbstractWebDriverEventListener.beforeFindBy(By by,
WebElement element,
WebDriver driver)
|
WebElement |
EventFiringWebDriver.findElement(By by)
|
List<WebElement> |
EventFiringWebDriver.findElements(By by)
|
Uses of By in org.openqa.selenium.support.pagefactory |
---|
Subclasses of By in org.openqa.selenium.support.pagefactory | |
---|---|
class |
ByChained
Mechanism used to locate elements within a document using a series of other lookups. |
Methods in org.openqa.selenium.support.pagefactory that return By | |
---|---|
By |
Annotations.buildBy()
|
protected By |
Annotations.buildByFromDefault()
|
protected By |
Annotations.buildByFromFindBy(FindBy findBy)
|
protected By |
Annotations.buildByFromFindBys(FindBys findBys)
|
protected By |
Annotations.buildByFromLongFindBy(FindBy findBy)
|
protected By |
Annotations.buildByFromShortFindBy(FindBy findBy)
|
Constructors in org.openqa.selenium.support.pagefactory with parameters of type By | |
---|---|
ByChained(By... bys)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |