Class ByEach

java.lang.Object

    org.openqa.selenium.By

            com.hpe.leanft.selenium.ByEach

All Implemented Interfaces:
Serializable


public class ByEach
extends org.openqa.selenium.By
implements Serializable

A locator that locates elements according to one or more locators (attributes, tags, styles etc.).

Nested Class Summary

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

Constructor Summary

Constructors

Constructor and Description
ByEach(org.openqa.selenium.By... bys)
A constructor for the ByEach locator.

Method Summary

All Methods

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) 
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

ByEach

public ByEach(org.openqa.selenium.By... bys)
A constructor for the ByEach locator.
Parameters:
bys - The locators (Bys) by which the elements should be identified.

Method Detail