org.seleniumhq.selenium.fluent
Class FluentBy.ByAttribute

java.lang.Object
  extended by org.openqa.selenium.By
      extended by org.seleniumhq.selenium.fluent.FluentBy
          extended by org.seleniumhq.selenium.fluent.FluentBy.ByAttribute
Direct Known Subclasses:
FluentBy.NotByAttribute
Enclosing class:
FluentBy

public static class FluentBy.ByAttribute
extends FluentBy


Nested Class Summary
 
Nested classes/interfaces inherited from class org.seleniumhq.selenium.fluent.FluentBy
FluentBy.ByAttribute, FluentBy.NotByAttribute
 
Nested classes/interfaces inherited from class 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
 
Field Summary
protected  String name
           
 
Constructor Summary
FluentBy.ByAttribute(String name, String value)
           
 
Method Summary
 org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)
           
 List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)
           
protected  String nameAndValue()
           
 String toString()
           
 
Methods inherited from class org.seleniumhq.selenium.fluent.FluentBy
attribute, attribute, beforeFindElement, composite, composite, last, last, notAttribute, strictClassName
 
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
 

Field Detail

name

protected final String name
Constructor Detail

FluentBy.ByAttribute

public FluentBy.ByAttribute(String name,
                            String value)
Method Detail

findElement

public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)
Overrides:
findElement in class org.openqa.selenium.By

nameAndValue

protected String nameAndValue()

findElements

public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)
Specified by:
findElements in class org.openqa.selenium.By

toString

public String toString()
Overrides:
toString in class org.openqa.selenium.By


Copyright © 2013. All Rights Reserved.