org.jboss.test.selenium.locator
Class IdentifierLocator
java.lang.Object
org.jboss.test.selenium.locator.AbstractLocator<T>
org.jboss.test.selenium.locator.AbstractElementLocator<IdentifierLocator>
org.jboss.test.selenium.locator.IdentifierLocator
- All Implemented Interfaces:
- ElementLocator<IdentifierLocator>, Locator<IdentifierLocator>
public class IdentifierLocator
- extends AbstractElementLocator<IdentifierLocator>
Locates the element with the specified @id attribute. If no match is found, select the first element whose
@name attribute is id.
- Version:
- $Revision$
- Author:
- Lukas Fryc
IdentifierLocator
public IdentifierLocator(String idOrName)
getLocationStrategy
public ElementLocationStrategy getLocationStrategy()
- Description copied from interface:
Locator
- Returns the location strategy for this element
- Returns:
- the location strategy for this element
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.