org.openqa.selenium
Class By.ByPartialLinkText

java.lang.Object
  extended by org.openqa.selenium.By
      extended by org.openqa.selenium.By.ByPartialLinkText
Enclosing class:
By

public static class By.ByPartialLinkText
extends By


Nested Class Summary
 
Nested classes/interfaces inherited from class org.openqa.selenium.By
By.ByClassName, By.ByCssSelector, By.ById, By.ByLinkText, By.ByName, By.ByPartialLinkText, By.ByTagName, By.ByXPath
 
Constructor Summary
By.ByPartialLinkText(java.lang.String linkText)
           
 
Method Summary
 WebElement findElement(SearchContext context)
          Find a single element.
 java.util.List<WebElement> findElements(SearchContext context)
          Find many elements.
 java.lang.String toString()
           
 
Methods inherited from class org.openqa.selenium.By
className, cssSelector, equals, hashCode, id, linkText, name, partialLinkText, tagName, xpath
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

By.ByPartialLinkText

public By.ByPartialLinkText(java.lang.String linkText)
Method Detail

findElements

public java.util.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.