public class Search extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.openqa.selenium.WebElement |
findElementWithChildElement(org.openqa.selenium.By searchElements,
org.openqa.selenium.By childFind,
org.openqa.selenium.WebDriver driver)
Searches for an element that contains a specific child element.
|
static org.openqa.selenium.WebElement |
findElementWithChildElement(org.openqa.selenium.By searchElements,
org.openqa.selenium.By childFind,
org.openqa.selenium.WebElement context) |
static org.openqa.selenium.WebElement |
findElementWithText(org.openqa.selenium.By searchElements,
String textValue,
org.openqa.selenium.WebDriver driver) |
static org.openqa.selenium.WebElement |
findElementWithText(org.openqa.selenium.By searchElements,
String textValue,
org.openqa.selenium.WebElement context) |
static List<org.openqa.selenium.WebElement> |
findVisibleElements(org.openqa.selenium.By searchElements,
org.openqa.selenium.SearchContext context) |
public static org.openqa.selenium.WebElement findElementWithChildElement(org.openqa.selenium.By searchElements,
org.openqa.selenium.By childFind,
org.openqa.selenium.WebDriver driver)
searchElements - the parent elements to look for the child element within.childFind - The child to look for.public static org.openqa.selenium.WebElement findElementWithChildElement(org.openqa.selenium.By searchElements,
org.openqa.selenium.By childFind,
org.openqa.selenium.WebElement context)
public static org.openqa.selenium.WebElement findElementWithText(org.openqa.selenium.By searchElements,
String textValue,
org.openqa.selenium.WebDriver driver)
public static org.openqa.selenium.WebElement findElementWithText(org.openqa.selenium.By searchElements,
String textValue,
org.openqa.selenium.WebElement context)
public static List<org.openqa.selenium.WebElement> findVisibleElements(org.openqa.selenium.By searchElements, org.openqa.selenium.SearchContext context)
Copyright © 2015 Atlassian. All rights reserved.