Graphene Implementation 1.0.0.CR3

org.jboss.arquillian.ajocado.locator
Class IdentifierLocator

java.lang.Object
  extended by org.jboss.arquillian.ajocado.locator.AbstractLocator<T>
      extended by org.jboss.arquillian.ajocado.locator.element.AbstractElementLocator<IdentifierLocator>
          extended by org.jboss.arquillian.ajocado.locator.IdentifierLocator
All Implemented Interfaces:
ElementLocator<IdentifierLocator>, Locator<IdentifierLocator>, SeleniumRepresentable

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

Constructor Summary
IdentifierLocator(String idOrName)
           
 
Method Summary
 ElementLocationStrategy getLocationStrategy()
           
 
Methods inherited from class org.jboss.arquillian.ajocado.locator.element.AbstractElementLocator
format, getAttribute
 
Methods inherited from class org.jboss.arquillian.ajocado.locator.AbstractLocator
getRawLocator, inSeleniumRepresentation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.arquillian.ajocado.locator.Locator
getRawLocator
 
Methods inherited from interface org.jboss.arquillian.ajocado.selenium.SeleniumRepresentable
inSeleniumRepresentation
 

Constructor Detail

IdentifierLocator

public IdentifierLocator(String idOrName)
Method Detail

getLocationStrategy

public ElementLocationStrategy getLocationStrategy()

Graphene Implementation 1.0.0.CR3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.