org.openqa.selenium
Class By.ByPartialLinkText
java.lang.Object
org.openqa.selenium.By
org.openqa.selenium.By.ByPartialLinkText
- Enclosing class:
- By
public static class By.ByPartialLinkText
- extends By
By.ByPartialLinkText
public By.ByPartialLinkText(String linkText)
findElements
public List<WebElement> findElements(SearchContext context)
- Description copied from class:
By
- Find many elements.
- Specified by:
findElements
in class By
- Parameters:
context
- A context to use to find the element
- Returns:
- A list of WebElements matching the selector
findElement
public WebElement findElement(SearchContext context)
- Description copied from class:
By
- Find a single element. Override this method if necessary.
- Overrides:
findElement
in class By
- Parameters:
context
- A context to use to find the element
- Returns:
- The WebElement that matches the selector
toString
public String toString()
- Overrides:
toString
in class By
Copyright © 2013. All rights reserved.