public class ByCssSelectorOrByNameOrById extends org.openqa.selenium.By implements Serializable
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 |
|---|
ByCssSelectorOrByNameOrById(String selector) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.SearchContext context) |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.SearchContext context) |
protected String |
quoteCss(String selector) |
String |
toString() |
protected boolean |
validCssSelector(String selector) |
public ByCssSelectorOrByNameOrById(String selector)
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)
findElement in class org.openqa.selenium.Bypublic List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)
findElements in class org.openqa.selenium.Byprotected boolean validCssSelector(String selector)
public String toString()
toString in class org.openqa.selenium.ByCopyright © 2015. All Rights Reserved.