com.atlassian.jira.functest.framework.locator
Interface LocatorEntry


public interface LocatorEntry

When iterating a Locator, the iterator() method returns LocatorEntry objects that contain each Nodes , the text of the node, as well as the index that the node would occur at if a called to Locator.getNodes() was made.

Since:
4.0

Method Summary
 String getHTML()
           
 int getIndex()
           
 Node getNode()
           
 String getText()
           
 

Method Detail

getNode

Node getNode()
Returns:
the Node that has been iterated to

getText

String getText()
Returns:
the text of the Node that has been iterated to, according to the Locator

getHTML

String getHTML()
Returns:
the HTML of the Node that has been iterated to, according to the Locator

getIndex

int getIndex()
Returns:
the index of the Node had it been returned via Locator.getNodes()


Copyright © 2002-2012 Atlassian. All Rights Reserved.