public class Identification extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Identification.How
The method used for identifying elements on the DOM tree.
|
| Constructor and Description |
|---|
Identification()
Default constructor to support saving instances of this class as an XML.
|
Identification(Identification.How how,
String value)
Create a new Identification.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Identification.How |
getHow() |
long |
getId() |
String |
getValue() |
org.openqa.selenium.By |
getWebDriverBy()
Convert a Identification to a By used in WebDriver Drivers.
|
int |
hashCode() |
void |
setHow(Identification.How how) |
void |
setId(long id) |
void |
setValue(String value) |
String |
toString()
Convert a Identification to a String.
|
public Identification()
public Identification(Identification.How how, String value)
how - the method of identification (xpath, id, name, ...)value - the value of the identification method.public Identification.How getHow()
public void setHow(Identification.How how)
how - the how to setpublic String getValue()
public void setValue(String value)
value - the value to setpublic String toString()
public long getId()
public void setId(long id)
id - the id to setpublic org.openqa.selenium.By getWebDriverBy()
Copyright © 2007-2013. All Rights Reserved.