public abstract class DeferredBy
extends 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 and Description |
|---|
DeferredBy() |
| Modifier and Type | Method and Description |
|---|---|
static org.openqa.selenium.By |
className(String className)
Finds elements based on the value of the "class" attribute.
|
static org.openqa.selenium.By |
cssSelector(String selector)
Finds elements via the driver's underlying W3 Selector engine.
|
boolean |
equals(Object o) |
int |
hashCode() |
static DeferredBy |
id(String id) |
static org.openqa.selenium.By |
linkText(String linkText) |
static org.openqa.selenium.By |
name(String name) |
static org.openqa.selenium.By |
partialLinkText(String linkText) |
static org.openqa.selenium.By |
tagName(String name) |
static org.openqa.selenium.By |
xpath(String xpathExpression) |
public static DeferredBy id(String id)
id - The value of the "id" attribute to search forpublic static org.openqa.selenium.By linkText(String linkText)
linkText - The exact text to match againstpublic static org.openqa.selenium.By partialLinkText(String linkText)
linkText - The text to match againstpublic static org.openqa.selenium.By name(String name)
name - The value of the "name" attribute to search forpublic static org.openqa.selenium.By tagName(String name)
name - The element's tagNamepublic static org.openqa.selenium.By xpath(String xpathExpression)
xpathExpression - The xpath to usepublic static org.openqa.selenium.By className(String className)
className - The value of the "class" attribute to search forpublic static org.openqa.selenium.By cssSelector(String selector)
public boolean equals(Object o)
equals in class org.openqa.selenium.Bypublic int hashCode()
hashCode in class org.openqa.selenium.ByCopyright © 2015 Atlassian. All rights reserved.